aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-09 11:25:31 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-09 11:25:31 +0800
commitc5d5b30780fd85d6e143acbd170a2bab9d6bd5a9 (patch)
treed868735205c1a6f4852d4700fe255692de8165e1 /calendar/gui
parent0885119ef7c4bf7123d822e001c99c15e0fffcae (diff)
downloadgsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.gz
gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.tar.zst
gsoc2013-evolution-c5d5b30780fd85d6e143acbd170a2bab9d6bd5a9.zip
Fix for bug #353752
svn path=/trunk/; revision=33777
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-memos.c5
-rw-r--r--calendar/gui/e-tasks.c4
-rw-r--r--calendar/gui/gnome-cal.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/calendar/gui/e-memos.c b/calendar/gui/e-memos.c
index e53a2644a0..44a4e92a03 100644
--- a/calendar/gui/e-memos.c
+++ b/calendar/gui/e-memos.c
@@ -1109,8 +1109,9 @@ e_memos_setup_view_menus (EMemos *memos, BonoboUIComponent *uic)
filename = g_build_filename (EVOLUTION_ETSPECDIR,
"e-memo-table.etspec",
NULL);
- e_table_specification_load_from_file (spec,
- filename);
+ if (!e_table_specification_load_from_file (spec, filename))
+ g_error ("Unable to load ETable specification file "
+ "for memos");
g_free (filename);
factory = gal_view_factory_etable_new (spec);
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 9e00738834..d610702c47 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -1373,7 +1373,9 @@ e_tasks_setup_view_menus (ETasks *tasks, BonoboUIComponent *uic)
filename = g_build_filename (EVOLUTION_ETSPECDIR,
"e-calendar-table.etspec",
NULL);
- e_table_specification_load_from_file (spec, filename);
+ if (!e_table_specification_load_from_file (spec, filename))
+ g_error ("Unable to load ETable specification file "
+ "for tasks");
g_free (filename);
factory = gal_view_factory_etable_new (spec);
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 864cc064fa..2d8cf85c5e 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -2386,7 +2386,9 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic)
etspecfile = g_build_filename (EVOLUTION_ETSPECDIR,
"e-cal-list-view.etspec",
NULL);
- e_table_specification_load_from_file (spec, etspecfile);
+ if (!e_table_specification_load_from_file (spec, etspecfile))
+ g_error ("Unable to load ETable specification file "
+ "for calendar");
g_free (etspecfile);
gal_factory = gal_view_factory_etable_new (spec);
g_object_unref (spec);