Community
Participate
Working Groups
This patch replaces gtk_progressbar_set_orientation which is deprecated in GTK+3 and uses combination of gtk_orientable_set_orientation() and gtk_progressbar_set_inverted() for GTK+ 3 and higher: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_progressbar_orientation This patch is based on documentation: http://developer.gnome.org/gtk3/3.3/ch25s02.html ("GtkProgressBar orientation" section)
64-bit version of the patch: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_progressbar_orientation_64
Patch looks good to me. GTK3 change only which we can't test for now. Pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a025bf9445abd24cfb0807a29038b2face3f0f8a
Minor issue with the patch Alex, the switch case indentation is not according to SWT coding style.
(In reply to comment #3) > Minor issue with the patch Alex, the switch case indentation is not > according to SWT coding style. Thanks for noticing Arun! I have fixed formatting: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_progressbar_orientation_64
Sorry about that. Fixed in http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=9004816c0eded49a87ffaf370b4fefa4dbb6d38b