diff options
author | Alexander Kurtakov <akurtakov@gmail.com> | 2012-01-20 14:13:21 -0500 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-01-20 14:13:21 -0500 |
commit | 70fed7586064df83841bf23cc3bbbf080c822668 (patch) | |
tree | b255e0dff2e5cd46feed76164b63895c2eca1303 /bundles | |
parent | 704f9377fdfbc3f0c12e11665b0fc2e8c6f9b051 (diff) | |
download | eclipse.platform.swt-70fed7586064df83841bf23cc3bbbf080c822668.tar.gz eclipse.platform.swt-70fed7586064df83841bf23cc3bbbf080c822668.tar.xz eclipse.platform.swt-70fed7586064df83841bf23cc3bbbf080c822668.zip |
Bug 369225 - Cleanup pre GTK 2.4 leftovers. (reviewed)
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java index 7950613463..2de634602f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java @@ -212,13 +212,6 @@ int getBandHeight () { return Math.max (ExpandItem.CHEVRON_SIZE, metrics.getHeight ()); } -GdkColor getForegroundColor () { - if ((state & FOREGROUND) == 0) { - return display.getSystemColor (SWT.COLOR_TITLE_FOREGROUND).handle; - } - return super.getForegroundColor (); -} - /** * Returns the item at the given, zero-relative index in the * receiver. Throws an exception if the index is out of range. @@ -293,11 +286,6 @@ public int getSpacing () { return spacing; } -int /*long*/ gtk_expose_event (int /*long*/ widget, int /*long*/ eventPtr) { - if ((state & OBSCURED) != 0) return 0; - return super.gtk_expose_event (widget, eventPtr); -} - int /*long*/ gtk_key_press_event (int /*long*/ widget, int /*long*/ event) { if (!hasFocus ()) return 0; int /*long*/ result = super.gtk_key_press_event (widget, event); |