From: Christian Dywan Date: Thu, 7 May 2009 21:00:29 +0000 (+0200) Subject: Don't declare print function for WebKit >= 1.1.6 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5621fc44f2ffd72ab7411ef0f0e7d86c1163509;p=midori Don't declare print function for WebKit >= 1.1.6 --- 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,