From: Kaj-Michael Lang Date: Wed, 16 Jul 2008 13:41:00 +0000 (+0300) Subject: Fix arguments to gtk_map_goto_position() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f10002d6de07bf71a57e9a73df9c300c21734e;p=mapper Fix arguments to gtk_map_goto_position() --- diff --git a/src/cb.c b/src/cb.c index 13653d4..63644b9 100644 --- a/src/cb.c +++ b/src/cb.c @@ -302,7 +302,7 @@ return TRUE; gboolean menu_cb_goto_home(GtkAction *action) { -if (gtk_map_goto_position(_home)==FALSE) { +if (gtk_map_goto_position(_map, _home)==FALSE) { MACRO_BANNER_SHOW_INFO(_window, _("Home not set.")); } else { if (gtk_map_get_zoom(_map)>3) @@ -315,7 +315,7 @@ return TRUE; gboolean menu_cb_goto_destination(GtkAction *action) { -if (gtk_map_goto_position(_dest)==FALSE) { +if (gtk_map_goto_position(_map, _dest)==FALSE) { MACRO_BANNER_SHOW_INFO(_window, _("Destination has not been set.")); } else { if (gtk_map_get_zoom(_map)>3)