From e5621fc44f2ffd72ab7411ef0f0e7d86c1163509 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 7 May 2009 23:00:29 +0200 Subject: [PATCH] Don't declare print function for WebKit >= 1.1.6 --- midori/midori-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index f023246b..da260ec6 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -31,8 +31,11 @@ /* This is unstable API, so we need to declare it */ gchar* webkit_web_view_get_selected_text (WebKitWebView* web_view); +/* This is public API since WebKitGTK+ 1.1.6 */ +#if !WEBKIT_CHECK_VERSION (1, 1, 6) void webkit_web_frame_print (WebKitWebFrame* web_frame); +#endif GdkPixbuf* midori_search_action_get_icon (KatzeNet* net,