Community
Participate
Working Groups
Build Identifier: I20120608-1400 This patch omits use of GTK_WIDGET_WINDOW in newer GTK+ versions thus avoiding G_SEAL warning: http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=99bd3da7604c07fbb2938174f2b3dfe0e0f2b234 Reproducible: Always
Please ignore previous patch, as there is incorrect os_custom.h and use the patch below: http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=5843ab624f1985a1a773e0a4e88eebad1a012189 Sorry for the confusion. Regards, Anatoly
Please add Widget.gtk_widget_get_window() helper function. Classes outsize of the Widget hierarchy are good as is.
What I did: 1. Added helper function to Widget.java gtk_widget_get_window 2. Put version guard implementation into Widget.java 3. Where possible replaced implementation with function call to helper function 4. Fixed Formatting Please find revised patch here: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk_widget_get_window_&id=4e304bf58fa28343289565a3b93efc96a15fd931 Regards, Anatoly
Thanks! Fixed - http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=31b7a613958123368d896ee9b0a636412f2a598b and http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=77a864c617c9320310a0566ced42ef43c6615a47 Silenio, there are some spurious changes in os.c because of some conflicts in my workspace, I hope it doesn't cause any issues.
(In reply to comment #4) > Thanks! > Silenio, there are some spurious changes in os.c because of some conflicts > in my workspace, I hope it doesn't cause any issues. os.c is generated. It should be fine as long as the generated code got released. I just checked and it seems to be the case.