diff options
-rw-r--r-- | modules/calendar/e-cal-shell-migrate.c | 3 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-migrate.c | 3 | ||||
-rw-r--r-- | modules/calendar/e-task-shell-migrate.c | 3 |
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 |