aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-cal-shell-migrate.c')
-rw-r--r--modules/calendar/e-cal-shell-migrate.c3
1 files changed, 1 insertions, 2 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