[gtk+] treeview: remove needless duplicate gtk_widget_set_parent_window() call



commit b3ab5088df8d98031ea56898e5bfb29eea069653
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jul 9 16:21:41 2014 +0200

    treeview: remove needless duplicate gtk_widget_set_parent_window() call
    
    This same call happens a few lines above.

 gtk/gtktreeview.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index adc4561..d11c3fd 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -9994,7 +9994,6 @@ _gtk_tree_view_column_start_drag (GtkTreeView       *tree_view,
   allocation = button_allocation;
   allocation.x = 0;
   gtk_widget_size_allocate (button, &allocation);
-  gtk_widget_set_parent_window (button, tree_view->priv->drag_window);
 
   tree_view->priv->drag_column = column;
   gdk_window_show (tree_view->priv->drag_window);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]