From 58b1e1bc94f63d5d1638e502924a79642df3a55a Mon Sep 17 00:00:00 2001 From: Arun Thondapu Date: Tue, 7 Aug 2012 23:20:29 +0530 Subject: Revert unnecessary changes in Combo.java made via Bug 386401 comment #2 --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | 2 ++ 1 file changed, 2 insertions(+) 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 db7c8c5518..6b4b552719 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 @@ -1027,6 +1027,8 @@ String getText (int start, int stop) { */ public int getTextHeight () { checkWidget(); + GtkRequisition requisition = new GtkRequisition (); + gtk_widget_size_request (handle, requisition); return OS.GTK_WIDGET_REQUISITION_HEIGHT (handle); } -- cgit