From: Kaj-Michael Lang Date: Sun, 4 Nov 2007 16:42:15 +0000 (+0200) Subject: Don't destroy dialog X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee90af5b71782403315fbd715ca05f75142e4fbe;p=mapper Don't destroy dialog --- 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