aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-event.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-08 21:45:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-08 21:45:58 +0800
commit2a54f0a220d86b271901697ce938b30c2f3ca41a (patch)
tree0c94af24604353cbbca4f3904db9b09b2711de5f /calendar/gui/e-cal-event.c
parent03fe4bdcbc8a2e644339bbfcd12843da1f766375 (diff)
downloadgsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.tar
gsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.tar.gz
gsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.tar.bz2
gsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.tar.lz
gsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.tar.xz
gsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.tar.zst
gsoc2013-evolution-2a54f0a220d86b271901697ce938b30c2f3ca41a.zip
Adapt calendar to EShellBackend changes.
Diffstat (limited to 'calendar/gui/e-cal-event.c')
-rw-r--r--calendar/gui/e-cal-event.c8
1 files changed, 4 insertions, 4 deletions
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;