diff --git a/midori/midori-webview.c b/midori/midori-webview.c index 5e12a44c..4a5a5e37 100644 --- a/midori/midori-webview.c +++ b/midori/midori-webview.c @@ -979,7 +979,8 @@ midori_web_view_get_icon (MidoriWebView* web_view) if (info) { content_type = g_file_info_get_content_type (info); - icon = !strcmp (content_type, "image/x-icon") + /* favicon.ico can be image/x-ico or image/x-icon */ + icon = !strcmp (content_type, "image/x-ico") ? g_file_icon_new (icon_file) : NULL; }