From 20f10002d6de07bf71a57e9a73df9c300c21734e Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 16 Jul 2008 16:41:00 +0300 Subject: [PATCH] Fix arguments to gtk_map_goto_position() --- src/cb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5