diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-11 23:50:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:14:04 +0800 |
commit | ebcce86769d174cce6e881740c5e9bcedce28e06 (patch) | |
tree | b2cc2d18ceb0c3bd3e78f5b768c1b6926b69bb4a /e-util/e-event.c | |
parent | 1e3deb31476cf0026011876327be83e9a47847ee (diff) | |
download | gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.gz gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.zst gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r-- | e-util/e-event.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/e-util/e-event.c b/e-util/e-event.c index 6d0ece99bf..5e4a2b6c09 100644 --- a/e-util/e-event.c +++ b/e-util/e-event.c @@ -451,14 +451,13 @@ emph_construct (EPluginHook *eph, EPlugin *ep, xmlNodePtr root) EEventHookClass *class; GSList *items = NULL; - g_return_val_if_fail (((EEventHookClass *)G_OBJECT_GET_CLASS (eph))->event != NULL, -1); - d(printf("loading event hook\n")); if (((EPluginHookClass *)e_event_hook_parent_class)->construct (eph, ep, root) == -1) return -1; - class = (EEventHookClass *)G_OBJECT_GET_CLASS (eph); + class = E_EVENT_HOOK_GET_CLASS (eph); + g_return_val_if_fail (class->event != NULL, -1); node = root->children; while (node) { |