Community
Participate
Working Groups
Run controlexample and these warnings are printed in the console (Fedora 18). With Device.DEBUG=true, we can see that the warnings are comming from ExpandBar. (SWT:7269): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead (SWT:7269): Gtk-CRITICAL **: gtk_viewport_set_shadow_type: assertion `GTK_IS_VIEWPORT (viewport)' failed (SWT:7269): Gtk-CRITICAL **: gtk_scrollable_get_vscroll_policy: assertion `GTK_IS_SCROLLABLE (scrollable)' failed (SWT:7269): Gtk-CRITICAL **: gtk_scrollable_get_vscroll_policy: assertion `GTK_IS_SCROLLABLE (scrollable)' failed (SWT:7269): Gtk-CRITICAL **: gtk_scrollable_get_vscroll_policy: assertion `GTK_IS_SCROLLABLE (scrollable)' failed (SWT:7269): Gtk-CRITICAL **: gtk_scrollable_get_vscroll_policy: assertion `GTK_IS_SCROLLABLE (scrollable)' failed (SWT:7269): Gtk-CRITICAL **: gtk_scrollable_get_vscroll_policy: assertion `GTK_IS_SCROLLABLE (scrollable)' failed (SWT:7269): GLib-GObject-WARNING **: g_object_set_valist: object class `GtkBox' has no property named `hadjustment'
Warnings started happening because of http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ca5e588017b8795b03417457562b8f46567bc04f
Silenio is this with gtk2 or gtk3? There shouldn't be any change for GTK older than 3.8 according to this commit and Fedora 18 has 3.6.4. Am I missing smth obvious?
Ah, my bad - reversed version check. Fixed in master http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5d308b0d1dae435b293212e22df586b30bb1d27e
Marking as fixed.
(In reply to comment #3) > Ah, my bad - reversed version check. Fixed in master > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=5d308b0d1dae435b293212e22df586b30bb1d27e Ah Ok, I have changed the version check to look like other checks in the project (with GTK_VERSION on the left). I believe it is easier to understand that way.