Guard pixbuf in location action that is not used with Hildon

This commit is contained in:
Christian Dywan 2010-01-31 22:29:22 +01:00
parent f5489973f5
commit 41583dc940

View file

@ -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))))) if ((entry = GTK_ICON_ENTRY (gtk_bin_get_child (GTK_BIN (combo_box)))))
{ {
GtkTreeModel* model; GtkTreeModel* model;
GdkPixbuf* pixbuf;
gchar* uri; gchar* uri;
#if !HAVE_HILDON
GdkPixbuf* pixbuf;
#endif
model = gtk_combo_box_get_model (combo_box); model = gtk_combo_box_get_model (combo_box);
gtk_tree_model_get (model, &iter, URI_COL, &uri, -1); gtk_tree_model_get (model, &iter, URI_COL, &uri, -1);