diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-07-09 11:25:31 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-07-09 11:25:31 +0800 |
commit | c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9 (patch) | |
tree | d868735205c1a6f4852d4700fe255692de8165e1 /widgets/table/e-table-specification.c | |
parent | 0885119ef7c4bf7123d822e001c99c15e0fffcae (diff) | |
download | gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.gz gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.bz2 gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.lz gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.xz gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.zst gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.zip |
Fix for bug #353752
svn path=/trunk/; revision=33777
Diffstat (limited to 'widgets/table/e-table-specification.c')
-rw-r--r-- | widgets/table/e-table-specification.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index fb8f821335..47a146405e 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -425,7 +425,11 @@ e_table_specification_duplicate (ETableSpecification *spec) new_spec = e_table_specification_new (); spec_str = e_table_specification_save_to_string (spec); - e_table_specification_load_from_string (new_spec, spec_str); + if (!e_table_specification_load_from_string (new_spec, spec_str)) { + g_warning ("Unable to duplicate ETable specification"); + g_object_unref (new_spec); + new_spec = NULL; + } g_free (spec_str); return new_spec; |