summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor <aspektor@redhat.com>2013-07-12 14:56:30 -0400
committerAnatoly Spektor <aspektor@redhat.com>2013-07-15 10:54:03 -0400
commitbceed4b69ab438f43a0b45861c5b22f93b252227 (patch)
tree328a3cad3d58c526704b0e7c728eefdf7a440a9c
parent6d2109680e67f01ec005aa6e7ba9c30428f9e77a (diff)
downloadeclipse.platform.swt-combo_cleanup_210.tar.gz
eclipse.platform.swt-combo_cleanup_210.tar.xz
eclipse.platform.swt-combo_cleanup_210.zip
Bug 412885 - [GTK2 clean-up] drop 2.8 code in Combocombo_cleanup_210
Signed-off-by: Anatoly Spektor <aspektor@redhat.com>
-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 ();