aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-02-14 03:16:56 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-02-14 03:16:56 +0800
commitafac6edb53f68a1c1c510eeaa1360c5a34e2e659 (patch)
tree512577371bf6764f392beeb915b27cc81612c953 /widgets/table
parentb88c27e9b2cee31a7e152a6d39ada7fba49a1d22 (diff)
downloadgsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.tar
gsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.tar.gz
gsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.tar.bz2
gsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.tar.lz
gsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.tar.xz
gsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.tar.zst
gsoc2013-evolution-afac6edb53f68a1c1c510eeaa1360c5a34e2e659.zip
guard for null paths if save_id lookup fails.
2003-02-13 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (*_load_expanded_state): guard for null paths if save_id lookup fails. svn path=/trunk/; revision=19904
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-tree-table-adapter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 3fae35737d..e3e8bba9ac 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -932,7 +932,8 @@ e_tree_table_adapter_load_expanded_state (ETreeTableAdapter *etta, const char *f
}
path = e_tree_model_get_node_by_id(etta->priv->source, id);
- e_tree_table_adapter_node_set_expanded(etta, path, !model_default);
+ if (path)
+ e_tree_table_adapter_node_set_expanded(etta, path, !model_default);
}
xmlFreeDoc (doc);