diff options
Diffstat (limited to 'widgets/table/e-table-specification.c')
-rw-r--r-- | widgets/table/e-table-specification.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index e289ad2987..3fcc28689d 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -129,6 +129,10 @@ e_table_specification_load_from_file (ETableSpecification *specification, const char *filename) { xmlDoc *doc; + + if (!g_file_test (filename, G_FILE_TEST_EXISTS)) + return FALSE; + doc = xmlParseFile (filename); if (doc) { xmlNode *node = xmlDocGetRootElement (doc); |