From: Christian Dywan Date: Sun, 13 May 2012 21:42:06 +0000 (+0200) Subject: Add missing view cast in webkit_web_view_mime_type_decision_cb X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9bb96c4442e0e18eabb0029a3cdeb3b5df196f;p=midori Add missing view cast in webkit_web_view_mime_type_decision_cb --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 934b68bb..ee4f12c3 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -2895,7 +2895,7 @@ webkit_web_view_mime_type_decision_cb (GtkWidget* web_view, view_source = TRUE; webkit_web_view_set_view_source_mode (WEBKIT_WEB_VIEW (web_view), view_source); - if (web_frame == webkit_web_view_get_main_frame (web_view)) + if (web_frame == webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (web_view))) { katze_assign (view->mime_type, g_strdup (mime_type)); midori_view_unset_icon (view);