summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
index ec5be4545a..72e24c5d07 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
@@ -453,9 +453,6 @@ void createHandle (int index) {
* fix is to call size_request() to force the creation of the button
* for those versions of GTK that defer the creation.
*/
- if (OS.GTK_VERSION < OS.VERSION (2, 8, 0)) {
- gtk_widget_get_preferred_size (handle, new GtkRequisition());
- }
menuHandle = findMenuHandle ();
if (menuHandle != 0) OS.g_object_ref (menuHandle);
buttonHandle = findButtonHandle ();