diff options
Diffstat (limited to 'modules/calendar/e-cal-event-hook.c')
-rw-r--r-- | modules/calendar/e-cal-event-hook.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/calendar/e-cal-event-hook.c b/modules/calendar/e-cal-event-hook.c index b263727107..d90162ded7 100644 --- a/modules/calendar/e-cal-event-hook.c +++ b/modules/calendar/e-cal-event-hook.c @@ -35,15 +35,15 @@ static const EEventHookTargetMap targets[] = { }; static void -cal_event_hook_class_init (EPluginHookClass *class) +cal_event_hook_class_init (EEventHookClass *class) { - EEventHookClass *event_hook_class; + EPluginHookClass *plugin_hook_class; gint ii; - event_hook_class = (EEventHookClass *) class; - event_hook_class->event = (EEvent *) e_cal_event_peek (); + plugin_hook_class = E_PLUGIN_HOOK_CLASS (class); + plugin_hook_class->id = "org.gnome.evolution.calendar.events:1.0"; - class->id = "org.gnome.evolution.calendar.events:1.0"; + class->event = (EEvent *) e_cal_event_peek (); for (ii = 0; targets[ii].type != NULL; ii++) e_event_hook_class_add_target_map ( |