From 1e663aa13266cad55e5019c03e768a38955166eb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 13 Oct 2010 23:40:16 -0400 Subject: Replace EBinding with GBinding. GObject now does property bindings itself. Requires GLib >= 2.26. --- calendar/gui/dialogs/comp-editor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor.c') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 63196abea4..eb908d1e33 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include @@ -1842,9 +1841,10 @@ comp_editor_init (CompEditor *editor) action_group = comp_editor_get_action_group (editor, "individual"); action_group_2 = e_attachment_view_get_action_group (view, "editable"); - e_binding_new ( + g_object_bind_property ( action_group, "sensitive", - action_group_2, "sensitive"); + action_group_2, "sensitive", + G_BINDING_SYNC_CREATE); /* Listen for attachment store changes. */ -- cgit v1.2.3