aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r--mail/e-mail-backend.c6
1 files changed, 4 insertions, 2 deletions
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. */