Community
Participate
Working Groups
Build Identifier: I20120503-1800 This patch omits use of deprecated method GTK_WIDGET_HAS_FOCUS and uses gtk_widget_has_focus() instead: http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=9a8e58ef3c28f47b9fa688d8029315e0ae2501d2 Reproducible: Always
Please add a Widget.gtk_widget_has_focus() helper function (the same way I added for bug#384651). Fix formatting too.
Added helper as you asked: http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=9bb1e4d4ad7039f53c4b322b6d5a78da6c13d023
(In reply to comment #2) > Added helper as you asked: > > http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt. > git;a=commit;h=9bb1e4d4ad7039f53c4b322b6d5a78da6c13d023 There is small issue with os_custom.h in the patch I posted. I will post revised version shortly. Regards, Anatoly
Here is revised patch with fixed formatting and helper: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk_widget_has_focus&id=8b24aa572a642d71614f887189c3f4849201abcc
Thanks for the patch! Pushed to eclipse.org http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2c810dc09ebe584d949d1446e7fe61dd64fa3e80