From 7d94de156c26973f6ea3cc79f545f68465613af6 Mon Sep 17 00:00:00 2001 From: Boris Shingarov Date: Tue, 1 Jan 2002 23:36:40 +0000 Subject: Shell handle structure (reuse topHandle from super) --- .../Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java') diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java index bdb20fb77c..06c74791ea 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java @@ -127,7 +127,7 @@ public FontData open () { OS.memmove (dialog, handle, GtkFontSelectionDialog.sizeof); if (parent!=null) { OS.gtk_window_set_modal(handle, true); - OS.gtk_window_set_transient_for(handle, parent.shellHandle); + OS.gtk_window_set_transient_for(handle, parent.topHandle); } if (fontData != null) { byte[] buffer = Converter.wcsToMbcs(null, fontData.getXlfd(), true); -- cgit