Community
Participate
Working Groups
Build Identifier: I20120503-1800 This patch omits use of GTK_WIDGET_FLAGS: http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=b468e9239bca7d603290b2d0bfc1e6125b9458ad Reproducible: Always
Please add a three helper functions (the same way I added for bug#384651).
What I did: 1. Fixed formatting 2. Added 4 Helper function - gtk_widget_get_visible - gtk_widget_get_can_default - gtk_widget_get_realized - gtk_widget_get_has_window 3. Put my previous implementation in helper functions and replaced every implementation with suitable helper function. Patch can be found here: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk_widget_flags_
Found some problems with patch: - In Control.moveHandle(), gtk_widget_get_visible() has to be called before the the to GTK_WIDGET_UNSET_FLAGS() otherewise gtk_widget_get_visible() equals false always. - In ProgressBar.updateBar, reversed test. - In Shell, I am not sure it is the same, but we should use logical OR instead of bitwise OR. Fixed problems and pushed to eclipse.org http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5983c24ed5237e3fc3d1e8e4c23d3ce4ce153bac
Thanks for fixing problems.