[gnome-calendar/date-selector] date-selector: fix code style format
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/date-selector] date-selector: fix code style format
- Date: Tue, 23 Dec 2014 16:12:08 +0000 (UTC)
commit 892cebce0c0762f0a3b51ad8cfb20dab865a344a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Dec 23 14:11:59 2014 -0200
date-selector: fix code style format
Better legibility is always welcomed.
src/gcal-date-selector.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index a5c282d..fc651ad 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -141,13 +141,10 @@ parse_entries (GcalDateSelector *selector)
dt = g_date_time_new_now_local ();
suffix = g_date_time_get_year (dt) % 100;
- /* last century */
if (year > suffix)
- year += g_date_time_get_year (dt) - suffix - 100;
-
- /* this century */
+ year += g_date_time_get_year (dt) - suffix - 100; /* last century */
else
- year += g_date_time_get_year (dt) - suffix;
+ year += g_date_time_get_year (dt) - suffix; /* this century */
g_date_time_unref (dt);
}
@@ -330,7 +327,7 @@ gcal_date_selector_constructed (GObject *object)
/**
* Date entries
*
- * day entry
+ * day entry
*/
entry_name = g_strdup_printf ("entry%d", priv->day_pos);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]