Add WebKit version check to compat.h and use it in Preferences
This commit is contained in:
parent
abf30976af
commit
40f36328c2
3 changed files with 3 additions and 4 deletions
|
@ -56,6 +56,8 @@ gtk_tool_item_set_tooltip_text (GtkToolItem* toolitem,
|
|||
|
||||
#ifndef WEBKIT_CHECK_VERSION
|
||||
|
||||
#define WEBKIT_CHECK_VERSION(a,b,c) 0
|
||||
|
||||
gfloat
|
||||
webkit_web_view_get_zoom_level (WebKitWebView* web_view);
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#endif
|
||||
|
||||
#include "sokoke.h"
|
||||
#include "compat.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
|
|
@ -34,10 +34,6 @@
|
|||
#define D_(__domain, __message) __message
|
||||
#endif
|
||||
|
||||
#ifndef WEBKIT_CHECK_VERSION
|
||||
#define WEBKIT_CHECK_VERSION(a,b,c) 0
|
||||
#endif
|
||||
|
||||
/* This is unstable API, so we need to declare it */
|
||||
gchar*
|
||||
webkit_web_view_get_selected_text (WebKitWebView* web_view);
|
||||
|
|
Loading…
Reference in a new issue