Bug 90427 - [GTK2] need to bump GTK2_REQUIRED_VERSION for ‘gdk_window_get_cursor’
Summary: [GTK2] need to bump GTK2_REQUIRED_VERSION for ‘gdk_window_get_cursor’
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 20:08 PDT by Kenji Okimoto
Modified: 2013-09-09 04:46 PDT (History)
1 user (show)

See Also:


Attachments
bump GTK2_REQUIRED_VERSION to 2.18 (371 bytes, patch)
2012-07-02 20:08 PDT, Kenji Okimoto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenji Okimoto 2012-07-02 20:08:32 PDT
Created attachment 150520 [details]
bump GTK2_REQUIRED_VERSION to 2.18

I got a following error when I tried to build WebKitGtk1.8.1.

Download from: http://webkitgtk.org/?page=download

[snip]
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp: In member function ‘virtual void WebKit::ChromeClient::setCursor(const WebCore::Cursor&)’:
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:854: error: ‘gdk_window_get_cursor’ was not declared in this scope
[/snip]

gdk_window_get_cursor() is since 2.18.
see http://developer.gnome.org/gdk/stable/gdk-Windows.html#gdk-window-get-cursor

I checked configure.ac on master:
...
GTK2_REQUIRED_VERSION=2.10
...

I attached a patch to bump GTK2_REQUIRED_VERSION to 2.18.
But I built my WebKitGtk with gtk+-2.24.10.

Please check build dependencies.
Comment 1 Alberto Garcia 2013-09-09 04:46:23 PDT
webkitgtk already depends on gtk 2.24, so we can close this bug.