Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 374222 - Make gdk_draw_layout_with_colors dynamic.
Summary: Make gdk_draw_layout_with_colors dynamic.
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.8 M7   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-03-14 08:28 EDT by Alexander Kurtakov CLA
Modified: 2012-05-07 10:56 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 Alexander Kurtakov CLA 2012-03-14 08:28:38 EDT
There are 5 usages in total each of them covered by cairo alternative path. The function is removed from GTK 3.

Commit/patch:
http://fedorapeople.org/gitweb?p=akurtakov/public_git/eclipse.platform.swt.git;a=commit;h=cb039b0a48e6b77924f70877df440530abb42f3c
Comment 1 Silenio Quarti CLA 2012-03-14 10:44:38 EDT
I think you need to remove the casts as well (i.e. GdkGC *) otherwise it still will not compile in GTK 3 because GdkGC is not defined.
Comment 2 Alexander Kurtakov CLA 2012-03-14 12:04:59 EDT
Ah, you're right - my mistake with the gtk2/gtk3 jumps. I'll rebase the other patches too.
Comment 3 Alexander Kurtakov CLA 2012-03-14 12:25:51 EDT
New patch removing the casts for GdkDrawable and GdkGC:
http://fedorapeople.org/gitweb?p=akurtakov/public_git/eclipse.platform.swt.git;a=commit;h=61909b18b5492bc04c28ef950dc35c35cbff2079
Comment 4 Silenio Quarti CLA 2012-03-19 10:47:10 EDT
Pushed to eclipse.org

http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit
/?id=a63e7844f1d8f849fe877d2101e33aaad4c582e8