aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-profile-event.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-06 01:33:49 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:41 +0800
commit7aacf983b32ecac26bc9707697da622b3ef164a3 (patch)
tree754e32b12d21674efa6d55c7a1c8727477197dd4 /e-util/e-profile-event.c
parentbca1a2c5ea655a8cfacedadf8a9a6c6b62d2b0ab (diff)
downloadgsoc2013-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-profile-event.c')
-rw-r--r--e-util/e-profile-event.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/e-util/e-profile-event.c b/e-util/e-profile-event.c
index 2a455b3e45..7ca11c5d37 100644
--- a/e-util/e-profile-event.c
+++ b/e-util/e-profile-event.c
@@ -68,17 +68,24 @@ EProfileEvent *
e_profile_event_peek (void)
{
if (e_profile_event == NULL) {
- e_profile_event = g_object_new (e_profile_event_get_type (), NULL);
- e_event_construct(&e_profile_event->popup, "org.gnome.evolution.profile.events");
+ e_profile_event = g_object_new (
+ e_profile_event_get_type (), NULL);
+ e_event_construct (
+ &e_profile_event->popup,
+ "org.gnome.evolution.profile.events");
}
return e_profile_event;
}
EProfileEventTarget *
-e_profile_event_target_new (EProfileEvent *eme, const gchar *id, const gchar *uid, guint32 flags)
+e_profile_event_target_new (EProfileEvent *eme,
+ const gchar *id,
+ const gchar *uid,
+ guint32 flags)
{
- EProfileEventTarget *t = e_event_target_new (&eme->popup, E_PROFILE_EVENT_TARGET, sizeof (*t));
+ EProfileEventTarget *t = e_event_target_new (
+ &eme->popup, E_PROFILE_EVENT_TARGET, sizeof (*t));
GTimeVal tv;
t->id = g_strdup (id);
@@ -133,10 +140,12 @@ e_profile_event_hook_class_init (EProfileEventHookClass *class)
{
gint i;
- ((EPluginHookClass *)class)->id = "org.gnome.evolution.profile.events:1.0";
+ ((EPluginHookClass *)class)->id =
+ "org.gnome.evolution.profile.events:1.0";
for (i=0;emeh_targets[i].type;i++)
- e_event_hook_class_add_target_map ((EEventHookClass *)class, &emeh_targets[i]);
+ e_event_hook_class_add_target_map (
+ (EEventHookClass *) class, &emeh_targets[i]);
((EEventHookClass *)class)->event = (EEvent *)e_profile_event_peek ();
}