]> err.no Git - mapper/commitdiff
Add parent window argument to poi_info_dialog
authorKaj-Michael Lang <milang@tal.org>
Mon, 7 Apr 2008 13:17:16 +0000 (16:17 +0300)
committerKaj-Michael Lang <milang@tal.org>
Mon, 7 Apr 2008 13:17:16 +0000 (16:17 +0300)
src/map.c

index a3e279d1426179ab7f948ad8bd1d889988435b52..f9e549f73ac77e949310ac70a038fb53b2f60909 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -1384,7 +1384,7 @@ static gboolean
 map_cb_show_poi_info_dialog(gpointer data)
 {
 guint poi_id=GPOINTER_TO_INT(data);
-if (poi_info_dialog(poi_id)==FALSE)
+if (poi_info_dialog(_window, poi_id)==FALSE)
        g_printerr("Huh? Failed to display info dialog\n");
 return FALSE;
 }