diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-06 01:33:49 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:41 +0800 |
commit | 7aacf983b32ecac26bc9707697da622b3ef164a3 (patch) | |
tree | 754e32b12d21674efa6d55c7a1c8727477197dd4 /e-util/e-event.c | |
parent | bca1a2c5ea655a8cfacedadf8a9a6c6b62d2b0ab (diff) | |
download | gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.gz gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.bz2 gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.lz gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.xz gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.tar.zst gsoc2013-evolution-7aacf983b32ecac26bc9707697da622b3ef164a3.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r-- | e-util/e-event.c | 12 |
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); |