diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java index f7f436bb6c..b71470f2b2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java @@ -931,7 +931,7 @@ void forceResize () { void forceResize (int width, int height) { GtkRequisition requisition = new GtkRequisition (); - OS.gtk_widget_size_request (vboxHandle, requisition); + gtk_widget_get_preferred_size (vboxHandle, requisition); GtkAllocation allocation = new GtkAllocation (); int border = OS.gtk_container_get_border_width (shellHandle); allocation.x = border; |