aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r--calendar/gui/e-meeting-time-sel.c31
1 files changed, 18 insertions, 13 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index e0fb5ad419..5041565a84 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -39,7 +39,6 @@
#include "misc/e-canvas-utils.h"
#include "misc/e-dateedit.h"
-#include "e-util/e-binding.h"
#include "e-util/e-extensible.h"
#include "e-util/e-util.h"
@@ -761,17 +760,20 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
}
e_date_edit_set_show_time (E_DATE_EDIT (mts->start_date_edit), TRUE);
- e_binding_new (
+ g_object_bind_property (
mts, "show-week-numbers",
- mts->start_date_edit, "show-week-numbers");
+ mts->start_date_edit, "show-week-numbers",
+ G_BINDING_SYNC_CREATE);
- e_binding_new (
+ g_object_bind_property (
mts, "use-24-hour-format",
- mts->start_date_edit, "use-24-hour-format");
+ mts->start_date_edit, "use-24-hour-format",
+ G_BINDING_SYNC_CREATE);
- e_binding_new (
+ g_object_bind_property (
mts, "week-start-day",
- mts->start_date_edit, "week-start-day");
+ mts->start_date_edit, "week-start-day",
+ G_BINDING_SYNC_CREATE);
gtk_table_attach (GTK_TABLE (table), mts->start_date_edit,
1, 2, 0, 1, GTK_FILL, 0, 0, 0);
@@ -798,17 +800,20 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingStore *em
}
e_date_edit_set_show_time (E_DATE_EDIT (mts->end_date_edit), TRUE);
- e_binding_new (
+ g_object_bind_property (
mts, "show-week-numbers",
- mts->end_date_edit, "show-week-numbers");
+ mts->end_date_edit, "show-week-numbers",
+ G_BINDING_SYNC_CREATE);
- e_binding_new (
+ g_object_bind_property (
mts, "use-24-hour-format",
- mts->end_date_edit, "use-24-hour-format");
+ mts->end_date_edit, "use-24-hour-format",
+ G_BINDING_SYNC_CREATE);
- e_binding_new (
+ g_object_bind_property (
mts, "week-start-day",
- mts->end_date_edit, "week-start-day");
+ mts->end_date_edit, "week-start-day",
+ G_BINDING_SYNC_CREATE);
gtk_table_attach (GTK_TABLE (table), mts->end_date_edit,
1, 2, 1, 2, GTK_FILL, 0, 0, 0);