[gtk+/treeview-refactor] Removed calculation of background area when about to edit a cell (no need to check the background ar



commit 95ca1e241ccf42e0ef4f882641f207552787dfc9
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Thu Dec 9 13:57:58 2010 +0900

    Removed calculation of background area when about to edit a cell (no need to check the background area of the cell in this case).

 gtk/gtktreeview.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index d6e290d..1eeb5e0 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -15377,7 +15377,6 @@ gtk_tree_view_start_editing (GtkTreeView *tree_view,
 			     GtkTreePath *cursor_path)
 {
   GtkTreeIter iter;
-  GdkRectangle background_area;
   GdkRectangle cell_area;
   GtkTreeViewColumn *focus_column;
   gchar *path_string;
@@ -15406,10 +15405,6 @@ gtk_tree_view_start_editing (GtkTreeView *tree_view,
 					   &iter,
 					   GTK_RBNODE_FLAG_SET (cursor_node, GTK_RBNODE_IS_PARENT),
 					   cursor_node->children?TRUE:FALSE);
-  gtk_tree_view_get_background_area (tree_view,
-				     cursor_path,
-				     focus_column,
-				     &background_area);
   gtk_tree_view_get_cell_area (tree_view,
 			       cursor_path,
 			       focus_column,



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