From 22b8405f3e0cc3da801d39c55f8487f33ed54d32 Mon Sep 17 00:00:00 2001 From: Anatoly Spektor Date: Fri, 12 Jul 2013 14:56:30 -0400 Subject: Bug 412885 - [GTK2 clean-up] drop 2.8 code in Combo Signed-off-by: Anatoly Spektor --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | 3 --- 1 file changed, 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 (); -- cgit