aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r--calendar/gui/calendar-config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index b60788b20f..0d62e661ee 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -594,14 +594,14 @@ calendar_config_configure_e_cell_date_edit (ECellDateEdit *ecde)
end_hour++;
e_cell_date_edit_freeze (ecde);
- gtk_object_set (GTK_OBJECT (ecde),
- "use_24_hour_format", use_24_hour,
+ g_object_set (G_OBJECT (ecde),
+ "use_24_hour_format", use_24_hour,
#if 0
- /* We use the default 0 - 24 now. */
- "lower_hour", start_hour,
- "upper_hour", end_hour,
+ /* We use the default 0 - 24 now. */
+ "lower_hour", start_hour,
+ "upper_hour", end_hour,
#endif
- NULL);
+ NULL);
e_cell_date_edit_thaw (ecde);
e_cell_date_edit_text_set_timezone (ecd, zone);