aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-date-time-list.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2014-02-16 22:36:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2014-03-03 08:36:01 +0800
commitc53fbc0b8f3b98827d6816a627bdd4d467b84f74 (patch)
tree10eb8683b6d413f9ae6946dcaf303c29027a84ef /calendar/gui/e-date-time-list.c
parent1e3d8b5c68754c377c54423f1fb9a322eb3ec9e8 (diff)
downloadgsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.gz
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.bz2
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.lz
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.xz
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.zst
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.zip
Miscellaneous cleanups.
Diffstat (limited to 'calendar/gui/e-date-time-list.c')
-rw-r--r--calendar/gui/e-date-time-list.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/calendar/gui/e-date-time-list.c b/calendar/gui/e-date-time-list.c
index 9b4e70d74e..43ee00dbd6 100644
--- a/calendar/gui/e-date-time-list.c
+++ b/calendar/gui/e-date-time-list.c
@@ -69,7 +69,7 @@ copy_datetime (const ECalComponentDateTime *datetime)
ECalComponentDateTime *datetime_copy;
datetime_copy = g_new0 (ECalComponentDateTime, 1);
- datetime_copy->value = g_new (struct icaltimetype, 1);
+ datetime_copy->value = g_new (struct icaltimetype, 1);
*datetime_copy->value = *datetime->value;
if (datetime->tzid)
@@ -162,12 +162,12 @@ get_exception_string (EDateTimeList *date_time_list,
use_24_hour_format =
e_date_time_list_get_use_24_hour_format (date_time_list);
- tmp_tm.tm_year = dt->value->year - 1900;
- tmp_tm.tm_mon = dt->value->month - 1;
- tmp_tm.tm_mday = dt->value->day;
- tmp_tm.tm_hour = dt->value->hour;
- tmp_tm.tm_min = dt->value->minute;
- tmp_tm.tm_sec = dt->value->second;
+ tmp_tm.tm_year = dt->value->year - 1900;
+ tmp_tm.tm_mon = dt->value->month - 1;
+ tmp_tm.tm_mday = dt->value->day;
+ tmp_tm.tm_hour = dt->value->hour;
+ tmp_tm.tm_min = dt->value->minute;
+ tmp_tm.tm_sec = dt->value->second;
tmp_tm.tm_isdst = -1;
tmp_tm.tm_wday = time_day_of_week (
@@ -273,7 +273,7 @@ date_time_list_get_iter (GtkTreeModel *tree_model,
return FALSE;
iter->user_data = l;
- iter->stamp = date_time_list->stamp;
+ iter->stamp = date_time_list->stamp;
return TRUE;
}
@@ -315,7 +315,7 @@ date_time_list_get_value (GtkTreeModel *tree_model,
if (!date_time_list->list)
return;
- l = iter->user_data;
+ l = iter->user_data;
datetime = l->data;
if (!datetime)
@@ -368,7 +368,7 @@ date_time_list_iter_children (GtkTreeModel *tree_model,
if (!date_time_list->list)
return FALSE;
- iter->stamp = E_DATE_TIME_LIST (tree_model)->stamp;
+ iter->stamp = E_DATE_TIME_LIST (tree_model)->stamp;
iter->user_data = date_time_list->list;
return TRUE;
}
@@ -416,7 +416,7 @@ date_time_list_iter_nth_child (GtkTreeModel *tree_model,
if (!l)
return FALSE;
- iter->stamp = date_time_list->stamp;
+ iter->stamp = date_time_list->stamp;
iter->user_data = l;
return TRUE;
}
@@ -550,7 +550,7 @@ e_date_time_list_append (EDateTimeList *date_time_list,
if (iter) {
iter->user_data = g_list_last (date_time_list->list);
- iter->stamp = date_time_list->stamp;
+ iter->stamp = date_time_list->stamp;
}
}