[gtk+/treeview-refactor] Fixed my mistake in validate_row (), now the height of treeviews in GtkEntryCompletion is correct ag
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Fixed my mistake in validate_row (), now the height of treeviews in GtkEntryCompletion is correct ag
- Date: Tue, 7 Dec 2010 04:47:19 +0000 (UTC)
commit 97e060b094e6ad894c09da927f054069a874638b
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]