diff --git a/midori/compat.h b/midori/compat.h index 42789bf6..74dd0bee 100644 --- a/midori/compat.h +++ b/midori/compat.h @@ -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); diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index da4784e1..a1fd1082 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -16,6 +16,7 @@ #endif #include "sokoke.h" +#include "compat.h" #include #include diff --git a/midori/midori-view.c b/midori/midori-view.c index 228b9fb4..ee05743c 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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);