aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r--e-util/e-event.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/e-util/e-event.c b/e-util/e-event.c
index 4127a9c930..10ea83b30b 100644
--- a/e-util/e-event.c
+++ b/e-util/e-event.c
@@ -109,7 +109,8 @@ e_event_class_init (EEventClass *class)
static void
e_event_init (EEvent *event)
{
- event->priv = G_TYPE_INSTANCE_GET_PRIVATE (event, E_TYPE_EVENT, EEventPrivate);
+ event->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+ event, E_TYPE_EVENT, EEventPrivate);
g_queue_init (&event->priv->events);
}
@@ -380,11 +381,13 @@ emph_event_handle (EEvent *ee, EEventItem *item, gpointer data)
{
EEventHook *hook = data;
- /* FIXME: we could/should just remove the items we added to the event handler */
+ /* FIXME We could/should just remove the items
+ * we added to the event handler. */
if (!hook->hook.plugin->enabled)
return;
- e_plugin_invoke (hook->hook.plugin, (gchar *)item->user_data, ee->target);
+ e_plugin_invoke (
+ hook->hook.plugin, (gchar *)item->user_data, ee->target);
}
static void
@@ -449,7 +452,8 @@ emph_construct (EPluginHook *eph, EPlugin *ep, xmlNodePtr root)
d(printf("loading event hook\n"));
- if (((EPluginHookClass *)e_event_hook_parent_class)->construct (eph, ep, root) == -1)
+ if (((EPluginHookClass *)e_event_hook_parent_class)->
+ construct (eph, ep, root) == -1)
return -1;
class = E_EVENT_HOOK_GET_CLASS (eph);