diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-11-09 14:06:24 +0200 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-11-09 14:06:24 +0200 |
commit | 3119075dc00aef0a5db54f40d0f324cff6c8737f (patch) | |
tree | e5f26685befd5a0b9063079e86aa118a27dd22f6 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java | |
parent | 97d2d61eb85c401e693398b09a2caecd62a250f7 (diff) | |
download | eclipse.platform.swt-3119075dc00aef0a5db54f40d0f324cff6c8737f.tar.gz eclipse.platform.swt-3119075dc00aef0a5db54f40d0f324cff6c8737f.tar.xz eclipse.platform.swt-3119075dc00aef0a5db54f40d0f324cff6c8737f.zip |
Remove a workaround ignoring MOTION_NOTIFY for pre 2.6 GTK.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java index e77d6f0fe2..1148d8a700 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java @@ -352,16 +352,6 @@ long /*int*/ gtk_clicked (long /*int*/ widget) { lastButton = eventButton; break; } - case OS.GDK_MOTION_NOTIFY: { - /* - * Bug in GTK. Dragging a column in a GtkTreeView causes a clicked - * signal to be emitted even though the mouse button was never released. - * The fix to ignore the signal if the current GDK event is a motion notify. - * The GTK bug was fixed in version 2.6 - */ - if (OS.GTK_VERSION < OS.VERSION (2, 6, 0)) postEvent = false; - break; - } } } if (postEvent) sendSelectionEvent (doubleClick ? SWT.DefaultSelection : SWT.Selection); |