From ee90af5b71782403315fbd715ca05f75142e4fbe Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Sun, 4 Nov 2007 18:42:15 +0200 Subject: [PATCH] Don't destroy dialog --- src/search.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 1f1eb5a..983dcf8 100644 --- a/src/search.c +++ b/src/search.c @@ -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 -- 2.39.5