Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 388856 - Use gtk_render_frame and gtk_render_background instead of gtk_paint_box for GTK+3 and higher
Summary: Use gtk_render_frame and gtk_render_background instead of gtk_paint_box for G...
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 10:50 EDT by Anatoly Spektor CLA
Modified: 2012-10-24 14:38 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-09-05 10:50:57 EDT
This patch omits use of deprecated gtk_paint_box () method and uses GTK+3 API methods instead.

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_render_box
Comment 1 Anatoly Spektor CLA 2012-10-04 16:01:34 EDT
(In reply to comment #0)
> This patch omits use of deprecated gtk_paint_box () method and uses GTK+3
> API methods instead.
> 
> http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/
> commit/?h=gtk3_render_box

64 bit version of the patch : 

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


Note: this patch fixes error that I made in gtk_render_frame (388953) patch, where in Shell.java gtk_paint_box was replaced by gtk_render_frame.
Comment 2 Alexander Kurtakov CLA 2012-10-04 16:14:46 EDT
Thanks for the patch and for fixing the previous one. Pushed to master.
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f595bd26249b063ab16f669e49ee726a84b4ab51