[Xfce4-commits] <midori:master> Use hard-coded WebKit2 engine version in generate_ident_string

Christian Dywan noreply at xfce.org
Mon Apr 8 20:44:04 CEST 2013


Updating branch refs/heads/master
         to f5ae6a8631e50abb3078d0c043c145a19f2f0fea (commit)
       from 6d91a83fd973656db1f47c26e61aa46dc603199e (commit)

commit f5ae6a8631e50abb3078d0c043c145a19f2f0fea
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Apr 8 20:40:02 2013 +0200

    Use hard-coded WebKit2 engine version in generate_ident_string
    
    The WebKit API version isn't correct here.

 midori/midori-websettings.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c
index ed6d3d2..fb7d0d8 100644
--- a/midori/midori-websettings.c
+++ b/midori/midori-websettings.c
@@ -794,8 +794,8 @@ generate_ident_string (MidoriWebSettings* web_settings,
     const int webcore_major = WEBKIT_USER_AGENT_MAJOR_VERSION;
     const int webcore_minor = WEBKIT_USER_AGENT_MINOR_VERSION;
     #else
-    const int webcore_major = WEBKIT_MAJOR_VERSION;
-    const int webcore_minor = WEBKIT_MINOR_VERSION;
+    const int webcore_major = 537;
+    const int webcore_minor = 32;
     #endif
 
     #if WEBKIT_CHECK_VERSION (1, 1, 18)


More information about the Xfce4-commits mailing list