Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 392447 - Not use GdkColormap in GTK+ 3 (exception Tracker.drawRectnalges)
Summary: Not use GdkColormap in GTK+ 3 (exception Tracker.drawRectnalges)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.3 M3   Edit
Assignee: Alexander Kurtakov CLA
QA Contact:
URL:
Whiteboard: gtk3test
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-10-19 10:36 EDT by Anatoly Spektor CLA
Modified: 2012-10-24 14:46 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 Anatoly Spektor CLA 2012-10-19 10:36:49 EDT
This patch version guards calls to GdkColormap methods as they are not used in GTK+3, the only exception where GdkColormap is still should be used is Tracker.drawRectangles, as suitable Cairo implementation is not yet implemented for this method:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_colormap_64


Some documentation regarding the issue: 
https://mail.gnome.org/archives/commits-list/2010-December/msg06118.html
Comment 1 Alexander Kurtakov CLA 2012-10-20 03:51:12 EDT
Doesn't affect Gtk2 and looks like the right thing to do in Gtk3. Pushed to master http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2b1f2830b8d411e84c9809819724a5df17bd0813