[Xfce4-commits] <midori:master> Guard pixbuf in location action that is not used with Hildon

Christian Dywan noreply at xfce.org
Sun Jan 31 22:30:03 CET 2010


Updating branch refs/heads/master
         to 41583dc9406f3404f62d79fa3ef24ee744028ba4 (commit)
       from f5489973f5cd6744f3ae35c7fbbdd8e01d5720b0 (commit)

commit 41583dc9406f3404f62d79fa3ef24ee744028ba4
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jan 31 22:29:22 2010 +0100

    Guard pixbuf in location action that is not used with Hildon

 midori/midori-locationaction.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index 5c75b46..77ecb60 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);



More information about the Xfce4-commits mailing list