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