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
committerMatthew Barnes <mbarnes@redhat.com>2011-03-06 01:34:28 +0800
commitc6fd77460f5baf88528f5da2ffb99e86a2885ff0 (patch)
tree377ddb36bc9c907a06d5889123582b2066db42a8 /e-util/e-profile-event.c
parent29d8b02c557a65aec4b015b274a830b402da2cfd (diff)
downloadgsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.gz
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.tar.zst
gsoc2013-evolution-c6fd77460f5baf88528f5da2ffb99e86a2885ff0.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 ();
}