Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 392784 - [GTK3] implement Control.print()
Summary: [GTK3] implement Control.print()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 4.3 M3   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-10-24 15:48 EDT by Silenio Quarti CLA
Modified: 2012-10-31 09:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2012-10-24 15:48:53 EDT
Control.print() makes use of APIs not available in GTK 3. Need to reimplement it.

Here are a couple, there could be more.

GDK_PIXMAP_XID
gdk_drawable_get_depth
Comment 1 Silenio Quarti CLA 2012-10-24 16:48:52 EDT
Here is another one:

gdk_window_get_internal_paint_info
Comment 2 Silenio Quarti CLA 2012-10-29 15:30:30 EDT
GTK3 added gtk_widget_draw() which seems to do exactly what we want.

Fixed
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5d702d1f1c4daf5aadda87ebe154e07af60b51ac