WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
52173
[GTK] Remove use of deprecated GTK+ methods before the 1.3.10 release
https://bugs.webkit.org/show_bug.cgi?id=52173
Summary
[GTK] Remove use of deprecated GTK+ methods before the 1.3.10 release
Martin Robinson
Reported
2011-01-10 15:34:18 PST
We currently use a few GTK+ methods that have been deprecated in the GTK+ 3.x. We need to remove them or protect them with #ifdefs.
Attachments
Patch
(7.00 KB, patch)
2011-01-10 15:38 PST
,
Martin Robinson
xan.lopez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2011-01-10 15:38:26 PST
Created
attachment 78462
[details]
Patch
Xan Lopez
Comment 2
2011-01-10 15:45:47 PST
Comment on
attachment 78462
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=78462&action=review
> WebKit/gtk/WebCoreSupport/FullscreenVideoController.cpp:275 > + GdkColor color = { 1, 0, 0, 0 };
Changing this seems a bit pointless? I hope it's right ;) /me too lazy to check
> WebKit/gtk/webkit/webkitwebview.cpp:1553 > + GdkModifierType modifier = static_cast<GdkModifierType>(0);
This made more sense in plural.
Martin Robinson
Comment 3
2011-01-10 15:52:45 PST
Committed
r75444
: <
http://trac.webkit.org/changeset/75444
>
Philippe Normand
Comment 4
2011-01-12 02:02:41 PST
This broke the 32-bits release build. 3 tests crashing
Philippe Normand
Comment 5
2011-01-12 03:05:19 PST
Sorry, one test breaks only: media/context-menu-actions.html 0 0x00007f18dfe3b3a8 in g_object_unref (_object=0x3267220) at gobject.c:2658 2658 g_return_if_fail (G_IS_OBJECT (object)); #0 0x00007f18dfe3b3a8 in g_object_unref (_object=0x3267220) at gobject.c:2658 #1 0x00007f18e2597502 in FullscreenVideoController::enterFullscreen() () from /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-1.0.so.0 #2 0x00007f18e292049d in WebCore::HTMLMediaElement::enterFullscreen() () from /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-1.0.so.0 #3 0x00007f18e2b5c984 in WebCore::MediaControlFullscreenButtonElement::defaultEventHandler(WebCore::Event*) () from /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-1.0.so.0 #4 0x00007f18e27eb010 in WebCore::Node::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event>) () from /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-1.0.so.0 #5 0x00007f18e27eb3d0 in WebCore::Node::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) () from /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-1.0.so.0 ...
Philippe Normand
Comment 6
2011-01-12 06:43:42 PST
I think the crash happen because GRefPtrGtk.h is not included.
http://trac.webkit.org/changeset/75605
should fix this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug