Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 388883 - Use gtk_render_option instead of gtk_paint_option for GTK+3 and higher
Summary: Use gtk_render_option instead of gtk_paint_option for GTK+3 and higher
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-09-05 16:43 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-09-05 16:43:35 EDT
This patch implements GTK+ 3 API method gtk_render_option() instead of deprecated gtk_paint_option() for GTK+ 3 and higher:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_redner_option&id=520aee0fdf0c33f9b9959544dcaf3ed79272d4cd
Comment 1 Anatoly Spektor CLA 2012-10-05 10:27:57 EDT
(In reply to comment #0)
> This patch implements GTK+ 3 API method gtk_render_option() instead of
> deprecated gtk_paint_option() for GTK+ 3 and higher:
> 
> http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/
> commit/?h=gtk3_redner_option&id=520aee0fdf0c33f9b9959544dcaf3ed79272d4cd

64-bit version of revised patch is available here:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_redner_option_64
Comment 2 Anatoly Spektor CLA 2012-10-05 11:11:31 EDT
(In reply to comment #1)
> (In reply to comment #0)
> > This patch implements GTK+ 3 API method gtk_render_option() instead of
> > deprecated gtk_paint_option() for GTK+ 3 and higher:
> > 
> > http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/
> > commit/?h=gtk3_redner_option&id=520aee0fdf0c33f9b9959544dcaf3ed79272d4cd
> 
> 64-bit version of revised patch is available here:
> 
> http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/
> commit/?h=gtk3_redner_option_64

I have also removed cairo_t cast, to ensure compatibility of the current patch with RHEL 4. Please refer to the patch above.
Comment 3 Alexander Kurtakov CLA 2012-10-05 11:21:23 EDT
Thanks for all the changes Anatoly. Pushed to master http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=95845bd4b129586375f1e778d3783f76522ec9ba