summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-11-11 22:53:12 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-11-11 23:17:14 -0500
commit0db8aeaad9f81d7d3b582cc9f0b096705bf0591a (patch)
tree5ae851cef5672d2dcd57780194a043ca4f547ade /gtk/gtktreeview.c
parentfc8be961634a2bf5bd44f1648859f93df62c4f86 (diff)
downloadgtk+-0db8aeaad9f81d7d3b582cc9f0b096705bf0591a.tar.gz
treeview: fix dragging of columns in mutter
Don't recurse the mainloop in _gtk_tree_view_column_start_drag(). It doesn't serve any discernible purpose, and recursing the mainloop from the flush-events phas of the frame clock breaks frame synchronization with mutter. https://bugzilla.gnome.org/show_bug.cgi?id=705176
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r--gtk/gtktreeview.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 2ee1bb74b6..8826ba1721 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -9926,8 +9926,6 @@ _gtk_tree_view_column_start_drag (GtkTreeView *tree_view,
gdk_window_show (tree_view->priv->drag_window);
gtk_widget_grab_focus (GTK_WIDGET (tree_view));
- while (gtk_events_pending ())
- gtk_main_iteration ();
tree_view->priv->in_column_drag = TRUE;