diff options
Diffstat (limited to 'widgets/table/e-tree-table-adapter.c')
-rw-r--r-- | widgets/table/e-tree-table-adapter.c | 3 |
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 61b1c9dd0d..e1bda25eba 100644 --- a/widgets/table/e-tree-table-adapter.c +++ b/widgets/table/e-tree-table-adapter.c @@ -925,6 +925,9 @@ open_file (ETreeTableAdapter *etta, const char *filename) int vers; gboolean model_default, saved_default; + if (!g_file_test (filename, G_FILE_TEST_EXISTS)) + return NULL; + doc = xmlParseFile (filename); if (!doc) return NULL; |