From e68456f60f37d5d6e18fac95a5a9ddea2e9627fa Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 11 Aug 2009 23:19:03 -0400 Subject: Get the calendar-weather plugin working. --- calendar/gui/e-cal-event.c | 10 +++++----- calendar/gui/e-cal-event.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-cal-event.c b/calendar/gui/e-cal-event.c index eb37ae190f..5881f5037f 100644 --- a/calendar/gui/e-cal-event.c +++ b/calendar/gui/e-cal-event.c @@ -43,8 +43,8 @@ static void ece_target_free (EEvent *ev, EEventTarget *t) { switch (t->type) { - case E_CAL_EVENT_TARGET_MODULE: { - ECalEventTargetModule *s = (ECalEventTargetModule *) t; + case E_CAL_EVENT_TARGET_BACKEND: { + ECalEventTargetBackend *s = (ECalEventTargetBackend *) t; if (s->shell_backend) g_object_unref (s->shell_backend); if (s->source_list) @@ -94,10 +94,10 @@ e_cal_event_peek (void) return e_cal_event; } -ECalEventTargetModule * +ECalEventTargetBackend * e_cal_event_target_new_module (ECalEvent *ece, EShellBackend *shell_backend, ESourceList *source_list, guint32 flags) { - ECalEventTargetModule *t = e_event_target_new (&ece->event, E_CAL_EVENT_TARGET_MODULE, sizeof (*t)); + ECalEventTargetBackend *t = e_event_target_new (&ece->event, E_CAL_EVENT_TARGET_BACKEND, sizeof (*t)); t->shell_backend = g_object_ref (shell_backend); t->source_list = g_object_ref (source_list); @@ -116,7 +116,7 @@ static const EEventHookTargetMask eceh_module_masks[] = { }; static const EEventHookTargetMap eceh_targets[] = { - { "module", E_CAL_EVENT_TARGET_MODULE, eceh_module_masks }, + { "module", E_CAL_EVENT_TARGET_BACKEND, eceh_module_masks }, { NULL }, }; diff --git a/calendar/gui/e-cal-event.h b/calendar/gui/e-cal-event.h index e9f5987673..73d27353fa 100644 --- a/calendar/gui/e-cal-event.h +++ b/calendar/gui/e-cal-event.h @@ -36,17 +36,17 @@ typedef struct _ECalEvent ECalEvent; typedef struct _ECalEventClass ECalEventClass; enum _e_cal_event_target_t { - E_CAL_EVENT_TARGET_MODULE, + E_CAL_EVENT_TARGET_BACKEND, }; -/* Flags that describe TARGET_MODULE */ +/* Flags that describe TARGET_BACKEND */ enum { E_CAL_EVENT_MODULE_MIGRATION = 1 << 0, }; -typedef struct _ECalEventTargetModule ECalEventTargetModule; +typedef struct _ECalEventTargetBackend ECalEventTargetBackend; -struct _ECalEventTargetModule { +struct _ECalEventTargetBackend { EEventTarget target; EShellBackend *shell_backend; ESourceList *source_list; @@ -64,7 +64,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, EShellBackend *shell_backend, ESourceList *source_list, guint32 flags); +ECalEventTargetBackend* e_cal_event_target_new_module (ECalEvent *ece, EShellBackend *shell_backend, ESourceList *source_list, guint32 flags); /* ********************************************************************** */ -- cgit