[gtk+/combo-refactor] Fixed my mistake in validate_row (), now the height of treeviews in GtkEntryCompletion is correct ag



commit 105807b93f81132071f93c481ca17bc15f63e651
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Dec 7 13:11:27 2010 +0900

    Fixed my mistake in validate_row (), now the height of treeviews in GtkEntryCompletion is correct again.

 gtk/gtktreeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index c9ca131..d6e290d 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -6146,7 +6146,7 @@ validate_row (GtkTreeView *tree_view,
 
       if (!is_separator)
 	{
-          padding += vertical_separator;
+          row_height += vertical_separator;
 	  height = MAX (height, row_height);
 	  height = MAX (height, tree_view->priv->expander_size);
 	}



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