From 2a54f0a220d86b271901697ce938b30c2f3ca41a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 8 May 2009 09:45:58 -0400 Subject: Adapt calendar to EShellBackend changes. --- calendar/gui/e-cal-event.c | 8 ++++---- calendar/gui/e-cal-event.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-cal-event.c b/calendar/gui/e-cal-event.c index ecd1ea5b7e..3bccd137f7 100644 --- a/calendar/gui/e-cal-event.c +++ b/calendar/gui/e-cal-event.c @@ -45,8 +45,8 @@ ece_target_free (EEvent *ev, EEventTarget *t) switch (t->type) { case E_CAL_EVENT_TARGET_MODULE: { ECalEventTargetModule *s = (ECalEventTargetModule *) t; - if (s->shell_module) - g_object_unref (s->shell_module); + if (s->shell_backend) + g_object_unref (s->shell_backend); break; } } @@ -93,11 +93,11 @@ e_cal_event_peek (void) } ECalEventTargetModule * -e_cal_event_target_new_module (ECalEvent *ece, EShellModule *shell_module, guint32 flags) +e_cal_event_target_new_module (ECalEvent *ece, EShellBackend *shell_backend, guint32 flags) { ECalEventTargetModule *t = e_event_target_new (&ece->event, E_CAL_EVENT_TARGET_MODULE, sizeof (*t)); - t->shell_module = g_object_ref (shell_module); + t->shell_backend = g_object_ref (shell_backend); t->target.mask = ~flags; return t; diff --git a/calendar/gui/e-cal-event.h b/calendar/gui/e-cal-event.h index 6aade251aa..9c2897c62f 100644 --- a/calendar/gui/e-cal-event.h +++ b/calendar/gui/e-cal-event.h @@ -27,7 +27,7 @@ #include #include "e-util/e-event.h" -#include "shell/e-shell-module.h" +#include "shell/e-shell-backend.h" #ifdef __cplusplus extern "C" { @@ -50,7 +50,7 @@ typedef struct _ECalEventTargetModule ECalEventTargetModule; struct _ECalEventTargetModule { EEventTarget target; - EShellModule *shell_module; + EShellBackend *shell_backend; }; struct _ECalEvent { @@ -65,7 +65,7 @@ struct _ECalEventClass { GType e_cal_event_get_type (void); ECalEvent* e_cal_event_peek (void); -ECalEventTargetModule* e_cal_event_target_new_module (ECalEvent *ece, EShellModule *shell_module, guint32 flags); +ECalEventTargetModule* e_cal_event_target_new_module (ECalEvent *ece, EShellBackend *shell_backend, guint32 flags); /* ********************************************************************** */ -- cgit v1.2.3