]> spindle.queued.net Git - midori/commitdiff
Guard pixbuf in location action that is not used with Hildon
authorChristian Dywan <christian@twotoasts.de>
Sun, 31 Jan 2010 21:29:22 +0000 (22:29 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 31 Jan 2010 21:29:22 +0000 (22:29 +0100)
midori/midori-locationaction.c

index 5c75b46abbc8d28cb98626f283204c194fce8322..77ecb60f79d891e3f478f2e7062021bc76741a40 100644 (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)))))
         {
             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);