summaryrefslogtreecommitdiff
path: root/midori
diff options
context:
space:
mode:
authorPaweł Forysiuk <tuxator@o2.pl>2013-11-09 18:58:12 +0100
committerPaweł Forysiuk <tuxator@o2.pl>2013-11-09 18:58:12 +0100
commit390a0c758cef63d2a7772debf532b6d55389d1a0 (patch)
tree38ad0366fbfe4dc895e88dfbba6095cb4da7d353 /midori
parentc63cd4f75b389430c8cd6bb74fa742647af3673a (diff)
downloadmidori-390a0c758cef63d2a7772debf532b6d55389d1a0.tar.gz
Fix warning about incompatible pointer type in midori_view_save_source
Diffstat (limited to 'midori')
-rw-r--r--midori/midori-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 00ebef31..61f265b2 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -4942,7 +4942,7 @@ midori_view_save_source (MidoriView* view,
#if WEBKIT_CHECK_VERSION (1, 9, 5)
doc = webkit_web_frame_get_dom_document (frame);
#else
- doc = webkit_web_view_get_dom_document (view->web_view);
+ doc = webkit_web_view_get_dom_document (WEBKIT_WEB_VIEW (view->web_view));
#endif
WebKitDOMElement* root = webkit_dom_document_query_selector (doc, ":root", NULL);