From cd9bb96c4442e0e18eabb0029a3cdeb3b5df196f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 13 May 2012 23:42:06 +0200 Subject: [PATCH] Add missing view cast in webkit_web_view_mime_type_decision_cb --- midori/midori-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5