aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-config-calendar-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-cal-config-calendar-item.c')
-rw-r--r--modules/calendar/e-cal-config-calendar-item.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/calendar/e-cal-config-calendar-item.c b/modules/calendar/e-cal-config-calendar-item.c
index 5c585f94ca..45d1797714 100644
--- a/modules/calendar/e-cal-config-calendar-item.c
+++ b/modules/calendar/e-cal-config-calendar-item.c
@@ -19,7 +19,6 @@
#include "e-cal-config-calendar-item.h"
#include <shell/e-shell.h>
-#include <e-util/e-binding.h>
#include <e-util/e-extension.h>
#include <misc/e-calendar-item.h>
@@ -37,13 +36,15 @@ cal_config_calendar_item_constructed (GObject *object)
shell = e_shell_get_default ();
shell_settings = e_shell_get_shell_settings (shell);
- e_binding_new (
+ g_object_bind_property (
shell_settings, "cal-show-week-numbers",
- extensible, "show-week-numbers");
+ extensible, "show-week-numbers",
+ G_BINDING_SYNC_CREATE);
- e_binding_new (
+ g_object_bind_property (
shell_settings, "cal-week-start-day",
- extensible, "week-start-day");
+ extensible, "week-start-day",
+ G_BINDING_SYNC_CREATE);
}
static void