RESOLVED FIXED 44787
[Gtk] gdk_display_get_core_pointer and gdk_device_get_core_pointer are deprecated
https://bugs.webkit.org/show_bug.cgi?id=44787
Summary [Gtk] gdk_display_get_core_pointer and gdk_device_get_core_pointer are deprec...
Alejandro G. Castro
Reported 2010-08-27 12:34:14 PDT
We need to avoid them to compile with gtk+-3.0 master branch.
Attachments
Proposed patch (11.17 KB, patch)
2010-08-28 06:54 PDT, Alejandro G. Castro
no flags
Proposed patch (16.15 KB, patch)
2010-08-28 07:03 PDT, Alejandro G. Castro
no flags
Proposed patch (10.27 KB, patch)
2010-08-28 07:23 PDT, Alejandro G. Castro
no flags
Proposed patch (16.25 KB, patch)
2010-08-28 08:24 PDT, Alejandro G. Castro
no flags
Proposed patch (15.75 KB, patch)
2010-08-28 11:06 PDT, Alejandro G. Castro
mrobinson: review+
Alejandro G. Castro
Comment 1 2010-08-28 06:54:40 PDT
Created attachment 65819 [details] Proposed patch
Alejandro G. Castro
Comment 2 2010-08-28 07:03:34 PDT
Created attachment 65820 [details] Proposed patch Avoid the git mv
WebKit Review Bot
Comment 3 2010-08-28 07:05:46 PDT
Attachment 65820 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WARNING: File exempt from style guide. Skipping: "WebKit/gtk/tests/testcopyandpaste.c" WebKitTools/DumpRenderTree/gtk/EventSender.cpp:44: Alphabetical sorting problem. [build/include_order] [4] WebCore/platform/gtk/GtkVersioning.c:53: Declaration has space between * and variable name in GdkDevice* getDefaultGDKPointerDevice [whitespace/declaration] [3] WebCore/platform/gtk/GtkVersioning.c:56: Declaration has space between * and variable name in GdkDeviceManager* manager [whitespace/declaration] [3] Total errors found: 3 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alejandro G. Castro
Comment 4 2010-08-28 07:22:58 PDT
(In reply to comment #3) > Attachment 65820 [details] did not pass style-queue: > > Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 > WARNING: File exempt from style guide. Skipping: "WebKit/gtk/tests/testcopyandpaste.c" > WebKitTools/DumpRenderTree/gtk/EventSender.cpp:44: Alphabetical sorting problem. [build/include_order] [4] > WebCore/platform/gtk/GtkVersioning.c:53: Declaration has space between * and variable name in GdkDevice* getDefaultGDKPointerDevice [whitespace/declaration] [3] > WebCore/platform/gtk/GtkVersioning.c:56: Declaration has space between * and variable name in GdkDeviceManager* manager [whitespace/declaration] [3] > Total errors found: 3 in 11 files > Are these correct?
Alejandro G. Castro
Comment 5 2010-08-28 07:23:56 PDT
Created attachment 65821 [details] Proposed patch
WebKit Review Bot
Comment 6 2010-08-28 08:11:19 PDT
Alejandro G. Castro
Comment 7 2010-08-28 08:24:41 PDT
Created attachment 65824 [details] Proposed patch
WebKit Review Bot
Comment 8 2010-08-28 08:40:47 PDT
Alejandro G. Castro
Comment 9 2010-08-28 11:06:37 PDT
Created attachment 65833 [details] Proposed patch I think the patch is correct, maybe the Plos if the bot is not doing a clean build could be causing the problem, recall to make a fresh rebuild in the bots when uploading this patch. I've removed config.h and JavascriptCore include using to find the file.
WebKit Review Bot
Comment 10 2010-08-28 11:18:46 PDT
Martin Robinson
Comment 11 2010-08-29 01:29:05 PDT
Comment on attachment 65833 [details] Proposed patch 1112 Programs_unittests_testcopyandpaste_SOURCES = WebKit/gtk/tests/testcopyandpaste.c \ 1113 WebCore/platform/gtk/GtkVersioning.c 1114 Programs_unittests_testcopyandpaste_CFLAGS = $(webkit_tests_cflags) \ 1115 -I$(srcdir)/WebCore/platform/gtk \ 1116 -I$(srcdir)/WebCore It's hard to tell from the diff, but these lines should only be indented one tab to match the rest of the file. Otherwise this looks good. If the bots need a clean build, do you mind cleaning them after you land? Thanks!
Alejandro G. Castro
Comment 12 2010-08-30 12:07:40 PDT
Note You need to log in before you can comment on or make changes to this bug.