From 3f78fc132e4542ea7a6f440cc21c899c6ffd7b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 19 Oct 2008 01:32:38 +0200 Subject: [PATCH] Compare strings with strcmp, this fixes icons in the location --- midori/midori-locationaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index b7d56b73..e8b0f406 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -494,7 +494,7 @@ midori_location_action_set_icon_for_uri (MidoriLocationAction* location_action, item.title = NULL; midori_location_entry_add_item ( MIDORI_LOCATION_ENTRY (entry), &item); - if (location_action->uri == uri) + if (!g_strcmp0 (location_action->uri, uri)) gtk_icon_entry_set_icon_from_pixbuf (GTK_ICON_ENTRY (child), GTK_ICON_ENTRY_PRIMARY, icon); }