Mercurial > pidgin
changeset 16123:bc280c341679
We don't need to do anything about the heights here.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 15 Apr 2007 05:28:29 +0000 |
parents | bd4a21db0ec9 |
children | ab3f93232a2d |
files | finch/libgnt/gnttree.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Sun Apr 15 01:26:57 2007 +0000 +++ b/finch/libgnt/gnttree.c Sun Apr 15 05:28:29 2007 +0000 @@ -1525,7 +1525,7 @@ void gnt_tree_adjust_columns(GntTree *tree) { GntTreeRow *row = tree->root; - int *widths, i, twidth, height; + int *widths, i, twidth; widths = g_new0(int, tree->ncol); while (row) { @@ -1552,8 +1552,7 @@ } g_free(widths); - gnt_widget_get_size(GNT_WIDGET(tree), NULL, &height); - gnt_widget_set_size(GNT_WIDGET(tree), twidth, height); + gnt_widget_set_size(GNT_WIDGET(tree), twidth, -1); } void gnt_tree_set_hash_fns(GntTree *tree, gpointer hash, gpointer eq, gpointer kd)