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. --- composer/e-composer-private.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'composer/e-composer-private.c') diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index d96832d887..99e83ae138 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -391,13 +391,17 @@ e_composer_private_constructed (EMsgComposer *composer) continue; } - e_mutual_binding_new ( + g_object_bind_property ( header, "sensitive", - action, "sensitive"); + action, "sensitive", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); - e_mutual_binding_new ( + g_object_bind_property ( header, "visible", - action, "active"); + action, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); } /* Install a handler for inline images. */ -- cgit