From 4983883b466e1b513a322b0ba84e86b3376a0695 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 22 Aug 2009 21:15:15 -0400 Subject: Fix migration errors. --- modules/calendar/e-cal-shell-migrate.c | 3 +-- modules/calendar/e-memo-shell-migrate.c | 3 +-- modules/calendar/e-task-shell-migrate.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'modules/calendar') 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 -- cgit v1.2.3