Community
Participate
Working Groups
This patch replaces gdk_pixbuf_get_from_drawable with gdk_pixbuf_get_from_window for GTK+ 3 : http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_pixbuf_ftom_drawable I've used as a source: http://developer.gnome.org/gtk3/3.3/ch25s02.html and https://mail.gnome.org/archives/commits-list/2010-September/msg05645.html
Correct by the porting document and doesn't affect Gtk2. Pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5673881707cbfd963bc0ed943607494119f5edb9
The patch is ok, but we could just make the old API dynamic, since all the calls are in the not OS.USE_CAIRO code patch.