Project: SWT
Bug 425999 [GTK3] Running Snippet294 gives Gdk-CRITICAL with GTK3
Reported: 2014-01-17 11:03:53 | Status: verified fixed

The critical error in quesiont is (SWT:24935): Gdk-CRITICAL **: gdk_window_shape_combine_region: assertion 'GDK_IS_WINDOW (window)' failed and the window pointer is null. On GTK3 it looks like gtk_widget_get_window can not retrieve the window if the widget is not realized.

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