From f8f15528fc9329229fd05c652e20e878f8da37eb Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 31 Jul 2008 16:13:29 +0300 Subject: [PATCH] Fix zoom buttons --- src/cb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cb.c b/src/cb.c index a59f804..6cbcef5 100644 --- a/src/cb.c +++ b/src/cb.c @@ -418,14 +418,14 @@ return TRUE; gboolean cb_zoomin(GtkAction *action) { -g_idle_add((GSourceFunc)gtk_map_zoom_in, NULL); +g_idle_add((GSourceFunc)gtk_map_zoom_in, _map); return TRUE; } gboolean cb_zoomout(GtkAction *action) { -g_idle_add((GSourceFunc)gtk_map_zoom_out, NULL); +g_idle_add((GSourceFunc)gtk_map_zoom_out, _map); return TRUE; } -- 2.39.5