From 8cf6f4fa6c0edb253214fa1c088b33c622543c05 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 26 Oct 2009 18:05:56 +0100 Subject: [PATCH] Don't load icons when rendering completion on Hildon --- midori/midori-locationaction.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5