aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-12 11:19:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-12 11:19:03 +0800
commite68456f60f37d5d6e18fac95a5a9ddea2e9627fa (patch)
treea45843764cfee8994cf540bf703250120b5e4a9a /calendar
parent5e31896863e915fb2a7f613c029fb91aeaa2e42c (diff)
downloadgsoc2013-evolution-e68456f60f37d5d6e18fac95a5a9ddea2e9627fa.tar.gz
gsoc2013-evolution-e68456f60f37d5d6e18fac95a5a9ddea2e9627fa.tar.zst
gsoc2013-evolution-e68456f60f37d5d6e18fac95a5a9ddea2e9627fa.zip
Get the calendar-weather plugin working.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-cal-event.c10
-rw-r--r--calendar/gui/e-cal-event.h10
2 files changed, 10 insertions, 10 deletions
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);
/* ********************************************************************** */