summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-07 23:20:29 +0530
committerArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-07 23:20:29 +0530
commit58b1e1bc94f63d5d1638e502924a79642df3a55a (patch)
treee0a7442a632488aaf54ffb6eda59b87c30ecdfa2
parent77a864c617c9320310a0566ced42ef43c6615a47 (diff)
downloadeclipse.platform.swt-58b1e1bc94f63d5d1638e502924a79642df3a55a.tar.gz
eclipse.platform.swt-58b1e1bc94f63d5d1638e502924a79642df3a55a.tar.xz
eclipse.platform.swt-58b1e1bc94f63d5d1638e502924a79642df3a55a.zip
Revert unnecessary changes in Combo.java made via Bug 386401 comment #2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java2
1 files changed, 2 insertions, 0 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 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);
}