aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-event.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-06 01:33:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-03-06 01:34:28 +0800
commitc6fd77460f5baf88528f5da2ffb99e86a2885ff0 (patch)
tree377ddb36bc9c907a06d5889123582b2066db42a8 /e-util/e-event.c
parent29d8b02c557a65aec4b015b274a830b402da2cfd (diff)
downloadgsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.gz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.bz2
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.lz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.xz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.zst
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.zip
Coding style and whitespace cleanup.
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);