Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor2013-07-12 18:56:30 +0000
committerAlexander Kurtakov2013-07-15 17:07:17 +0000
commit22b8405f3e0cc3da801d39c55f8487f33ed54d32 (patch)
tree0ef57dc9ace1d21455dec4b3a06840d6f3fbef8b
parent5d74999766f9e86d70ddcdddef0aa7477038ff84 (diff)
downloadeclipse.platform.swt-22b8405f3e0cc3da801d39c55f8487f33ed54d32.tar.gz
eclipse.platform.swt-22b8405f3e0cc3da801d39c55f8487f33ed54d32.tar.xz
eclipse.platform.swt-22b8405f3e0cc3da801d39c55f8487f33ed54d32.zip
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 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 ();

Back to the top