[gtk+/gtk-3-10] gtktreeview: Fix cancel of column re-ordering via the Escape key.
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] gtktreeview: Fix cancel of column re-ordering via the Escape key.
- Date: Sun, 14 Dec 2014 23:32:19 +0000 (UTC)
commit 466186680cf548ac1ae11d3d396162cfccf71c88
Author: mtwebster <miketwebster gmail com>
Date: Mon Nov 10 15:38:05 2014 -0500
gtktreeview: Fix cancel of column re-ordering via the Escape key.
https://bugzilla.redhat.com/show_bug.cgi?id=1162288
https://bugzilla.gnome.org/show_bug.cgi?id=739920
gtk/gtktreeview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 3e51700..dc5d27d 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -5763,7 +5763,7 @@ gtk_tree_view_key_press (GtkWidget *widget,
if (event->keyval == GDK_KEY_Escape)
{
tree_view->priv->cur_reorder = NULL;
- gtk_tree_view_button_release_drag_column (widget, NULL);
+ gtk_tree_view_button_release_drag_column (widget, (GdkEventButton *) event);
}
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]