Community
Participate
Working Groups
This patch uses gtk_render_line () for GTK3+ instead of gtk_paint_hline() and gtk_paint_vline(). As gtk_render_line () receives one extra argument (it has x0 y0 x1 and y1, however old API has only three arguments depending on the dimension), my proposal is to to give same coordinates (meaning y0 = y1 when drawing horizontal line, x0=x1 when drawing vertical line) to gtk_render_line() thus it will draw line only in dimension needed. Here is the patch: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_render_line If there are any concerns about it, please let me know.
64-bit revised version available from here: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_render_line_64
Pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ed18df252bb05902f6e134f9ab9e155c5cd00356