From a2891e0ddb97e73b9b1cd4d398922d3e9ed6913c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 23 Oct 2009 18:08:25 +0200 Subject: [PATCH] Wrap variables in location entry in Hildon guards as appropriate --- midori/midori-locationaction.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 46e5cea2..6b7ad662 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -1262,11 +1262,11 @@ void midori_location_action_set_icon (MidoriLocationAction* location_action, GdkPixbuf* icon) { + #if !HAVE_HILDON GSList* proxies; GtkWidget* location_entry; GtkWidget* entry; - #if !HAVE_HILDON g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action)); g_return_if_fail (!icon || GDK_IS_PIXBUF (icon)); @@ -1309,9 +1309,11 @@ midori_location_action_add_item (MidoriLocationAction* location_action, GdkPixbuf* icon, const gchar* title) { + #if !HAVE_HILDON GSList* proxies; GtkWidget* location_entry; GtkWidget* entry; + #endif g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action)); g_return_if_fail (uri != NULL); @@ -1344,9 +1346,11 @@ midori_location_action_set_icon_for_uri (MidoriLocationAction* location_action, GdkPixbuf* icon, const gchar* uri) { + #if !HAVE_HILDON GSList* proxies; GtkWidget* location_entry; GtkWidget* entry; + #endif g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action)); g_return_if_fail (!icon || GDK_IS_PIXBUF (icon)); @@ -1465,9 +1469,11 @@ void midori_location_action_set_secondary_icon (MidoriLocationAction* location_action, const gchar* stock_id) { + #if !HAVE_HILDON GSList* proxies; GtkWidget* entry; GtkWidget* child; + #endif GtkStockItem stock_item; g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action)); -- 2.39.5