aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-04-05 00:16:35 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-04-05 00:16:35 +0800
commit427a4045014b1e1d7cba62a018cfee2e43f64143 (patch)
treebb02b03944c21d1f4384050bfda101b18ac3f9d3 /widgets
parent9e9a8d93b3536638f85cb3fc0e5052582bc022e6 (diff)
downloadgsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.tar
gsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.tar.gz
gsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.tar.bz2
gsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.tar.lz
gsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.tar.xz
gsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.tar.zst
gsoc2013-evolution-427a4045014b1e1d7cba62a018cfee2e43f64143.zip
guard against root == NULL. Bug #39491.
2003-04-04 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (etta_sort_info_changed): guard against root == NULL. Bug #39491. svn path=/trunk/; revision=20668
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-tree-table-adapter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 65bdb3cccb..e167a1476f 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -799,6 +799,9 @@ etta_proxy_node_request_collapse (ETreeModel *etm, ETreePath node, ETreeTableAda
static void
etta_sort_info_changed (ETableSortInfo *sort_info, ETreeTableAdapter *etta)
{
+ if (!etta->priv->root)
+ return;
+
e_table_model_pre_change(E_TABLE_MODEL(etta));
resort_node(etta, etta->priv->root, TRUE);
fill_map(etta, 0, etta->priv->root);