]> err.no Git - mapper/commitdiff
Fix zoom buttons
authorKaj-Michael Lang <milang@tal.org>
Thu, 31 Jul 2008 13:13:29 +0000 (16:13 +0300)
committerKaj-Michael Lang <milang@tal.org>
Thu, 31 Jul 2008 13:13:29 +0000 (16:13 +0300)
src/cb.c

index a59f804ec415f1a82dc124408f17ddd65e36efa7..6cbcef5b80f058435b527b19a3eed2e22a161867 100644 (file)
--- 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;
 }