]> spindle.queued.net Git - midori/commitdiff
Don't load icons when rendering completion on Hildon
authorChristian Dywan <christian@twotoasts.de>
Mon, 26 Oct 2009 17:05:56 +0000 (18:05 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 26 Oct 2009 17:05:56 +0000 (18:05 +0100)
midori/midori-locationaction.c

index 6b7ad6620f409897fa704534bb2b3e507fbe6108..5544a4c3235f378900de519452d1f4e7970cf1d2 100644 (file)
@@ -643,6 +643,7 @@ midori_location_entry_render_text_cb (GtkCellLayout*   layout,
 
     if (G_UNLIKELY (!icon))
     {
+        #if !HAVE_HILDON
         MidoriLocationAction* action = MIDORI_LOCATION_ACTION (data);
         icon = katze_net_load_icon (action->net, uri, NULL, NULL, NULL);
         if (G_LIKELY (icon))
@@ -652,6 +653,7 @@ midori_location_entry_render_text_cb (GtkCellLayout*   layout,
         }
         else
             midori_location_action_set_icon_for_uri (action, action->default_icon, uri);
+        #endif
     }
     else
         g_object_unref (icon);