diff options
author | Mike Kestner <mkestner@ximian.com> | 2003-04-01 13:03:46 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2003-04-01 13:03:46 +0800 |
commit | fb5893bb043ade2a123ceece1237f45c21887d0e (patch) | |
tree | aea7631d2665749a589cb2ddaa06dbf0a0e43e3c | |
parent | 9e89da7be514471a3dadcc2f645269e3f1513ab7 (diff) | |
download | gsoc2013-evolution-fb5893bb043ade2a123ceece1237f45c21887d0e.tar.gz gsoc2013-evolution-fb5893bb043ade2a123ceece1237f45c21887d0e.tar.zst gsoc2013-evolution-fb5893bb043ade2a123ceece1237f45c21887d0e.zip |
if killing the root node, set it to NULL in the priv data. Bug #39441.
2003-03-31 Mike Kestner <mkestner@ximian.com>
* e-tree-table-adapter.c (kill_gnode): if killing the root
node, set it to NULL in the priv data. Bug #39441.
svn path=/trunk/; revision=20607
-rw-r--r-- | widgets/table/e-tree-table-adapter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c index d36ba15c99..99fa12b532 100644 --- a/widgets/table/e-tree-table-adapter.c +++ b/widgets/table/e-tree-table-adapter.c @@ -236,6 +236,8 @@ kill_gnode(GNode *node, ETreeTableAdapter *etta) } g_free(node->data); + if (node == etta->priv->root) + etta->priv->root = NULL; g_node_destroy(node); } |