summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
diff options
context:
space:
mode:
authorAnatoly Spektor <aspektor@redhat.com>2012-08-01 11:14:15 -0400
committerArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-03 22:58:20 +0530
commit195c35fb4aaf6777b97d64fa53ba79208d6d54ee (patch)
tree632df079706f08fc234f5b8c8926b6e352e30723 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
parent165a14baa4f28638048d0b616f73e1b86413e4a2 (diff)
downloadeclipse.platform.swt-195c35fb4aaf6777b97d64fa53ba79208d6d54ee.tar.gz
eclipse.platform.swt-195c35fb4aaf6777b97d64fa53ba79208d6d54ee.tar.xz
eclipse.platform.swt-195c35fb4aaf6777b97d64fa53ba79208d6d54ee.zip
Use gtk_widget_get_allocation in newer GTK+
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java2
1 files changed, 0 insertions, 2 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 50a66e4581..efaa7dddf5 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,8 +1027,6 @@ 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);
}