finch/libgnt/gnttree.c

branch
next.minor
changeset 21273
2f91b326b3f0
parent 21263
0919212f5a8c
child 21804
931ef2cc7cfb
equal deleted inserted replaced
21272:2226d681d245 21273:2f91b326b3f0
1775 tree->priv->lastvisible--; 1775 tree->priv->lastvisible--;
1776 if (!COLUMN_INVISIBLE(tree, tree->priv->lastvisible)) 1776 if (!COLUMN_INVISIBLE(tree, tree->priv->lastvisible))
1777 break; 1777 break;
1778 } 1778 }
1779 } 1779 }
1780 readjust_columns(tree); 1780 if (GNT_WIDGET_IS_FLAG_SET(GNT_WIDGET(tree), GNT_WIDGET_MAPPED))
1781 readjust_columns(tree);
1781 } 1782 }
1782 1783
1783 void gnt_tree_set_column_resizable(GntTree *tree, int col, gboolean res) 1784 void gnt_tree_set_column_resizable(GntTree *tree, int col, gboolean res)
1784 { 1785 {
1785 g_return_if_fail(col < tree->ncol); 1786 g_return_if_fail(col < tree->ncol);

mercurial