Project: SWT
Bug 270140 MessageDialog spews warning on gtk 2.4.13
Reported: 2009-03-26 12:04:48 | Status: resolved fixed

- a version check is probably needed before using gtk-alternative-button-order - the warning spew is: (SWT:4331): GLib-GObject-WARNING **: g_object_get_valist: object class `GtkSettings' has no property named `gtk-alternative-button-order' - the snippet: public static void main (String [] args) { final Display display = new Display (); final Shell shell = new Shell (display); MessageBox messageBox = new MessageBox (shell, SWT.OK | SWT.ICON_WARNING); messageBox.setText ("text"); messageBox.setMessage ("message"); messageBox.open (); display.dispose (); }

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java