]> err.no Git - mapper/commitdiff
Don't destroy dialog
authorKaj-Michael Lang <milang@onion.tal.org>
Sun, 4 Nov 2007 16:42:15 +0000 (18:42 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Sun, 4 Nov 2007 16:42:15 +0000 (18:42 +0200)
src/search.c

index 1f1eb5ac12cd7817f4b8a86dd17b8e3ac94bd4ca..983dcf816667a6b526b59f9a4913cba7dc3f0ba7 100644 (file)
@@ -213,9 +213,11 @@ if (!model)
 gtk_tree_model_get(model, &iter, ITEM_LAT, &lat, -1);
 gtk_tree_model_get(model, &iter, ITEM_LON, &lon, -1);
 
-gtk_widget_destroy(sd.dialog);
 map_center_latlon(lat, lon);
 map_update_location_from_center();
+#if 0
+gtk_widget_destroy(s->dialog);
+#endif
 }
 
 gboolean