menu_cb_show_scale(GtkAction *action)
{
_show_scale = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action));
-MACRO_QUEUE_DRAW_AREA();
+/* XXXXXXXXXXXXXXXXX */
return TRUE;
}
if (cm>0)
set_action_activate("autocenter_none", TRUE);
- gtk_map_set_center_unit(_map, _route->next_way->point->unitx, _route->next_way->point->unity);
+ gtk_map_set_center(_map, _route->next_way->point->unitx, _route->next_way->point->unity);
if (gtk_map_get_zoom(_map)>3)
gtk_map_set_zoom(_map, 3);
} else {
{
switch (event->keyval) {
case HILDON_HARDKEY_INCREASE:
- gtk_map_zoomin(_map);
+ gtk_map_zoom_in(_map);
break;
case HILDON_HARDKEY_DECREASE:
- gtk_map_zoomout(_map);
+ gtk_map_zoom_out(_map);
break;
default:
break;