Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 391267 - Use gtk_render_check instead of gtk_paint_check for GTK+ 3
Summary: Use gtk_render_check instead of gtk_paint_check for GTK+ 3
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-05 16:07 EDT by Anatoly Spektor CLA
Modified: 2012-10-24 14:38 EDT (History)
2 users (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-05 16:07:47 EDT
This patch uses gtk_render_check instead of gtk_paint_check for GTK+ 3 :

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_render_check
Comment 1 Alexander Kurtakov CLA 2012-10-08 07:13:24 EDT
Changes behaviour for GTK3 only. Pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=978b038415c514f70919a32aaf716830349ff52c
Comment 2 Arun Thondapu CLA 2012-10-15 08:35:10 EDT
OS.gtk_render_check (context, cairo, context, y, width, height); should be
OS.gtk_render_check (context, cairo, x, y, width, height);

Fixed it - http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2c265bf08a5ee6cfef4b73291f906166838b69b6