Project: SWT
Bug 392610 Use gdk_x11_get_default_xdisplay for GTK 3
Reported: 2012-10-22 17:10:12 | Status: resolved fixed

The GTK2 gdk_x11_display_get_xdisplay(gdk_display_get_default()) path fails. Also there is way more convenient GTK3 api gdk_x11_get_default_xdisplay.

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