aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-04 00:11:32 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-10-04 00:11:32 -0500
commit938d25fd79ce9fed522c1fc7233aaa0c95120b38 (patch)
treef0a56694dfff2a6e0eaafaa8f8baa92a521dab46
parent33e222af5379438fd002f1c816baf8f27c36a880 (diff)
downloadayatana-indicator-datetime-938d25fd79ce9fed522c1fc7233aaa0c95120b38.tar.gz
ayatana-indicator-datetime-938d25fd79ce9fed522c1fc7233aaa0c95120b38.tar.bz2
ayatana-indicator-datetime-938d25fd79ce9fed522c1fc7233aaa0c95120b38.zip
copyediting: tweak indentation
-rw-r--r--src/datetime-service.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index bac7d7c..217a779 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -824,9 +824,10 @@ update_appointment_menu_items (gpointer unused)
if (ci->end < start_time_appointments) continue;
}
- if (i >= MAX_APPOINTMENT_MENUITEMS) continue;
- i++;
+ if (i >= MAX_APPOINTMENT_MENUITEMS)
+ continue;
+ i++;
item = appointments[i];
/* Remove the icon as we might not replace it on error */
@@ -1411,8 +1412,8 @@ main (int argc, char ** argv)
// TODO Add a signal handler to catch gsettings changes and respond to them
/* Build our list of appointment calendar sources.
- When a source changes, update our menu items.
- When sources are added or removed, update our list and menu items. */
+ When a source changes, update our menu items.
+ When sources are added or removed, update our list and menu items. */
source_registry = e_source_registry_new_sync (NULL, NULL);
g_object_connect (source_registry,
"signal::source-added", update_appointments,
@@ -1471,7 +1472,7 @@ main (int argc, char ** argv)
g_object_unref(G_OBJECT(service));
g_object_unref(G_OBJECT(server));
g_object_unref(G_OBJECT(root));
- g_object_unref(G_OBJECT(source_registry));
+ g_object_unref(G_OBJECT(source_registry));
icaltimezone_free_builtin_timezones();