aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor2013-07-12 14:56:30 (EDT)
committerAlexander Kurtakov2013-07-15 13:07:17 (EDT)
commit22b8405f3e0cc3da801d39c55f8487f33ed54d32 (patch)
tree0ef57dc9ace1d21455dec4b3a06840d6f3fbef8b
parent5d74999766f9e86d70ddcdddef0aa7477038ff84 (diff)
downloadeclipse.platform.swt-22b8405f3e0cc3da801d39c55f8487f33ed54d32.zip
eclipse.platform.swt-22b8405f3e0cc3da801d39c55f8487f33ed54d32.tar.gz
eclipse.platform.swt-22b8405f3e0cc3da801d39c55f8487f33ed54d32.tar.bz2
Bug 412885 - [GTK2 clean-up] drop 2.8 code in Combo
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 ec5be45..72e24c5 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 ();