diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-14 11:40:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-14 19:12:52 +0800 |
commit | 1e663aa13266cad55e5019c03e768a38955166eb (patch) | |
tree | 6d7a3e20d3a24f004d0db4ab1c06d8a768b2f112 /mail/e-mail-backend.c | |
parent | 3f58ba3d833953c29bb6aa5e1834e2f367f15202 (diff) | |
download | gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.gz gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.bz2 gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.lz gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.xz gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.zst gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.zip |
Replace EBinding with GBinding.
GObject now does property bindings itself.
Requires GLib >= 2.26.
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r-- | mail/e-mail-backend.c | 6 |
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. */ |