Community
Participate
Working Groups
This patch omits use of deprecated gtk_paint_flat_box () method and uses GTK+3 API method instead: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_render_flat_box
This patch leaks the cairo context in Widget.gtk_render_flat_box().
(In reply to comment #1) > This patch leaks the cairo context in Widget.gtk_render_flat_box(). Thank you for pointing that out Silenio! Here is revised 64-bit version of the patch: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_render_flat_box_64
Looks good. GTK3 only change, pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=3fdc19a025bdb1d1c9714427e7323556f1c5dd33
Not sure if I'm missing something here but shouldn't the line of code OS.gtk_render_frame (context, cairo, context, y, width, height); really be OS.gtk_render_frame (context, cairo, x, y, width, height);
Thanks for spotting it Arun. Fixed in http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=772eba60342f660557d66c688c0f5931749c4e89 . It's really hard to check something that can't be run for now.