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. --- mail/e-mail-backend.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail/e-mail-backend.c') diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c index c9c668d101..dd34737272 100644 --- a/mail/e-mail-backend.c +++ b/mail/e-mail-backend.c @@ -29,7 +29,6 @@ #include "e-util/e-account-utils.h" #include "e-util/e-alert-dialog.h" -#include "e-util/e-binding.h" #include "misc/e-account-combo-box.h" @@ -465,7 +464,10 @@ mail_backend_constructed (GObject *object) priv->session = e_mail_session_new (); - e_binding_new (shell, "online", priv->session, "online"); + g_object_bind_property ( + shell, "online", + priv->session, "online", + G_BINDING_SYNC_CREATE); /* FIXME This is an evil hack that needs to die. * Give EAccountComboBox a CamelSession property. */ -- cgit