aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-23 09:15:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-23 09:15:15 +0800
commit4983883b466e1b513a322b0ba84e86b3376a0695 (patch)
treef0c86a579dc4e155d10a6f08954150c70f98deb2
parent21aec5923c80d212123b4fa491e6c618d66d8c4b (diff)
downloadgsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.tar
gsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.tar.gz
gsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.tar.bz2
gsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.tar.lz
gsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.tar.xz
gsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.tar.zst
gsoc2013-evolution-4983883b466e1b513a322b0ba84e86b3376a0695.zip
Fix migration errors.
-rw-r--r--modules/calendar/e-cal-shell-migrate.c3
-rw-r--r--modules/calendar/e-memo-shell-migrate.c3
-rw-r--r--modules/calendar/e-task-shell-migrate.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/modules/calendar/e-cal-shell-migrate.c b/modules/calendar/e-cal-shell-migrate.c
index f59b62597c..5ec9c99bf3 100644
--- a/modules/calendar/e-cal-shell-migrate.c
+++ b/modules/calendar/e-cal-shell-migrate.c
@@ -626,8 +626,7 @@ e_cal_shell_backend_migrate (EShellBackend *shell_backend,
ECalEventTargetBackend *target;
gboolean retval = FALSE;
- source_list = g_object_get_data (
- G_OBJECT (shell_backend), "source-list");
+ g_object_get (shell_backend, "source-list", &source_list, NULL);
/* we call this unconditionally now - create_groups either
creates the groups/sources or it finds the necessary
diff --git a/modules/calendar/e-memo-shell-migrate.c b/modules/calendar/e-memo-shell-migrate.c
index d2dce309d7..3bcf3156a5 100644
--- a/modules/calendar/e-memo-shell-migrate.c
+++ b/modules/calendar/e-memo-shell-migrate.c
@@ -223,8 +223,7 @@ e_memo_shell_backend_migrate (EShellBackend *shell_backend,
ESourceList *source_list = NULL;
gboolean retval = FALSE;
- source_list = g_object_get_data (
- G_OBJECT (shell_backend), "source-list");
+ g_object_get (shell_backend, "source-list", &source_list, NULL);
/* we call this unconditionally now - create_groups either
creates the groups/sources or it finds the necessary
diff --git a/modules/calendar/e-task-shell-migrate.c b/modules/calendar/e-task-shell-migrate.c
index ebc03e971d..799298f5a7 100644
--- a/modules/calendar/e-task-shell-migrate.c
+++ b/modules/calendar/e-task-shell-migrate.c
@@ -555,8 +555,7 @@ e_task_shell_backend_migrate (EShellBackend *shell_backend,
ESourceList *source_list;
gboolean retval = FALSE;
- source_list = g_object_get_data (
- G_OBJECT (source_list), "source-list");
+ g_object_get (shell_backend, "source-list", &source_list, NULL);
/* we call this unconditionally now - create_groups either
creates the groups/sources or it finds the necessary