[Xfce4-commits] <midori:master> Check in midori_search_action_get_icon if icon_name is given
Christian Dywan
noreply at xfce.org
Tue May 3 21:16:01 CEST 2011
Updating branch refs/heads/master
to ab9a1aa9ff764505ec283cef5e922d81688e08ec (commit)
from aa5a6903a6be9d3502449e50fe69de769b1f80d2 (commit)
commit ab9a1aa9ff764505ec283cef5e922d81688e08ec
Author: André Stösel <andre at stoesel.de>
Date: Tue May 3 20:17:00 2011 +0200
Check in midori_search_action_get_icon if icon_name is given
midori/midori-searchaction.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/midori/midori-searchaction.c b/midori/midori-searchaction.c
index e55fb77..4aa1bb7 100644
--- a/midori/midori-searchaction.c
+++ b/midori/midori-searchaction.c
@@ -412,6 +412,8 @@ midori_search_action_get_icon (KatzeItem* item,
if ((icon = katze_item_get_uri (item)) && (g_strstr_len (icon, 8, "://")))
return katze_load_cached_icon (icon, widget);
+ if (icon_name == NULL)
+ return NULL;
screen = gtk_widget_get_screen (widget);
icon_theme = gtk_icon_theme_get_for_screen (screen);
More information about the Xfce4-commits
mailing list