From: Christian Dywan Date: Sun, 31 Jan 2010 21:29:22 +0000 (+0100) Subject: Guard pixbuf in location action that is not used with Hildon X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41583dc9406f3404f62d79fa3ef24ee744028ba4;p=midori Guard pixbuf in location action that is not used with Hildon --- 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);