From: Christian Dywan Date: Mon, 26 Oct 2009 17:05:56 +0000 (+0100) Subject: Don't load icons when rendering completion on Hildon X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cf6f4fa6c0edb253214fa1c088b33c622543c05;p=midori Don't load icons when rendering completion on Hildon --- diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 6b7ad662..5544a4c3 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -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);