From 41583dc9406f3404f62d79fa3ef24ee744028ba4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 31 Jan 2010 22:29:22 +0100 Subject: [PATCH] Guard pixbuf in location action that is not used with Hildon --- midori/midori-locationaction.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 5c75b46a..77ecb60f 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -1087,8 +1087,10 @@ midori_location_action_entry_changed_cb (GtkComboBox* combo_box, if ((entry = GTK_ICON_ENTRY (gtk_bin_get_child (GTK_BIN (combo_box))))) { GtkTreeModel* model; - GdkPixbuf* pixbuf; gchar* uri; + #if !HAVE_HILDON + GdkPixbuf* pixbuf; + #endif model = gtk_combo_box_get_model (combo_box); gtk_tree_model_get (model, &iter, URI_COL, &uri, -1);