Bug 59932 - [GTK] gdk_drawable_get_size() shouldn't be used with GTK+ >= 2.24
Summary: [GTK] gdk_drawable_get_size() shouldn't be used with GTK+ >= 2.24
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 05:41 PDT by Philippe Normand
Modified: 2011-05-02 09:14 PDT (History)
1 user (show)

See Also:


Attachments
proposed patch (2.17 KB, patch)
2011-05-02 05:51 PDT, Philippe Normand
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2011-05-02 05:41:44 PDT
gdk_drawable_get_size has been deprecated since version 2.24 and should not be used in newly-written code. Use gdk_window_get_width() and gdk_window_get_height() for GdkWindows. Use gdk_pixmap_get_size() for GdkPixmaps.
Comment 1 Philippe Normand 2011-05-02 05:51:28 PDT
Created attachment 91916 [details]
proposed patch
Comment 2 Philippe Normand 2011-05-02 09:14:46 PDT
Committed r85480: <http://trac.webkit.org/changeset/85480>