aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
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
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')
-rw-r--r--calendar/gui/e-cal-event.c8
-rw-r--r--calendar/gui/e-cal-event.h6
2 files changed, 7 insertions, 7 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;
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 <glib-object.h>
#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);
/* ********************************************************************** */