summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-01-20 14:13:21 (EST)
committer Silenio Quarti2012-01-20 14:13:21 (EST)
commit70fed7586064df83841bf23cc3bbbf080c822668 (patch)
treeb255e0dff2e5cd46feed76164b63895c2eca1303
parent704f9377fdfbc3f0c12e11665b0fc2e8c6f9b051 (diff)
downloadeclipse.platform.swt-70fed7586064df83841bf23cc3bbbf080c822668.zip
eclipse.platform.swt-70fed7586064df83841bf23cc3bbbf080c822668.tar.gz
eclipse.platform.swt-70fed7586064df83841bf23cc3bbbf080c822668.tar.bz2
Bug 369225 - Cleanup pre GTK 2.4 leftovers. (reviewed)
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java12
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 7950613..2de6346 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);