diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-09 06:11:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-09 06:11:10 +0800 |
commit | e0dfbb056c3dcdbc1a29823b6c273901ade29598 (patch) | |
tree | 237e558c2e4cbb8141351fdb86d09bd000c6a05c /calendar/gui/calendar-config.c | |
parent | cdbcf964e2829e4c4002dcf2fd229f3b2cf88e56 (diff) | |
download | gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.tar gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.tar.gz gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.tar.bz2 gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.tar.lz gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.tar.xz gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.tar.zst gsoc2013-evolution-e0dfbb056c3dcdbc1a29823b6c273901ade29598.zip |
Use g_object_set_data(..., NULL) instead of gtk_object_remove_data().
* gui/calendar-commands.c (calendar_control_deactivate): Use
g_object_set_data(..., NULL) instead of gtk_object_remove_data().
* gui/calendar-commands.c: Use g_object_{set,get}_* functions
instead of gtk_object_{set,get}_*.
* gui/calendar-commands.c: Likewise.
* gui/calendar-config.c: Likewise.
* gui/control-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view-main-item.c: Likewise.
* gui/e-day-view-time-item.c: Likewise.
* gui/e-day-view-top-item.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel-item.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-week-view-event-item.c: Likewise.
* gui/e-week-view-layout.c: Likewise.
* gui/e-week-view-main-item.c: Likewise.
* gui/e-week-view-titles-item.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/print.c: Likewise.
svn path=/trunk/; revision=18674
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r-- | calendar/gui/calendar-config.c | 12 |
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); |