diff options
Diffstat (limited to 'modules/calendar/e-cal-shell-content.c')
-rw-r--r-- | modules/calendar/e-cal-shell-content.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c index 737c387a6f..e7a082bc05 100644 --- a/modules/calendar/e-cal-shell-content.c +++ b/modules/calendar/e-cal-shell-content.c @@ -24,7 +24,6 @@ #include <string.h> #include <glib/gi18n.h> -#include "e-util/e-binding.h" #include "e-util/gconf-bridge.h" #include "widgets/menus/gal-view-etable.h" #include "widgets/misc/e-paned.h" @@ -413,9 +412,10 @@ cal_shell_content_constructed (GObject *object) gtk_widget_show (GTK_WIDGET (calendar_view)); } - e_binding_new ( + g_object_bind_property ( priv->calendar, "view", - priv->notebook, "page"); + priv->notebook, "page", + G_BINDING_SYNC_CREATE); container = priv->vpaned; |