[evolution/kill-bonobo] Fix migration errors.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution/kill-bonobo] Fix migration errors.
- Date: Sun, 23 Aug 2009 01:26:15 +0000 (UTC)
commit 4983883b466e1b513a322b0ba84e86b3376a0695
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Aug 22 21:15:15 2009 -0400
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(-)
---
diff --git a/modules/calendar/e-cal-shell-migrate.c b/modules/calendar/e-cal-shell-migrate.c
index f59b625..5ec9c99 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 d2dce30..3bcf315 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 ebc03e9..799298f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]