diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-01 10:53:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-02-20 23:04:25 +0800 |
commit | 23f5773903d64a554d977ae7d0ebbaca73528f1f (patch) | |
tree | 104e1a59da8bf96b004bce204b79f47bbe0a6d13 /e-util/e-event.c | |
parent | 49bc4c2d765ee1780c23fdc9f42152850dabb220 (diff) | |
download | gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.gz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.bz2 gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.lz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.xz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.zst gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util/e-event.c')
-rw-r--r-- | e-util/e-event.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/e-util/e-event.c b/e-util/e-event.c index ca978820e9..409c23c9a9 100644 --- a/e-util/e-event.c +++ b/e-util/e-event.c @@ -33,6 +33,10 @@ #include <glib/gi18n.h> +#define E_EVENT_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE \ + ((obj), E_TYPE_EVENT, EEventPrivate)) + #define d(x) struct _event_node { @@ -109,8 +113,7 @@ 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 = E_EVENT_GET_PRIVATE (event); g_queue_init (&event->priv->events); } |