From: Kaj-Michael Lang Date: Thu, 31 Jul 2008 13:13:29 +0000 (+0300) Subject: Fix zoom buttons X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f15528fc9329229fd05c652e20e878f8da37eb;p=mapper Fix zoom buttons --- 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; }