From: Kaj-Michael Lang Date: Sat, 3 Nov 2007 15:08:33 +0000 (+0200) Subject: Remove unused stuff X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=771dd9a2bfaead5b4b856b9b79e7c52468554447;p=mapper Remove unused stuff --- diff --git a/src/poi-gui.c b/src/poi-gui.c index 5a91b7d..790d915 100644 --- a/src/poi-gui.c +++ b/src/poi-gui.c @@ -31,14 +31,6 @@ #define POI_QUICK_BUTTONS (9) -typedef struct _poi_search_query poi_search_query; -struct _poi_search_query { - gdouble lat; - gdouble lon; - guint cat_id; - gchar *query; -}; - typedef struct _search_dialog search_dialog; struct _search_dialog { GtkWidget *dialog; @@ -712,6 +704,7 @@ PoiCategoryEditInfo pcedit; gchar tmp1[16], tmp2[16]; /* Fatal, poi must be set */ + if (!poi) return FALSE;