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/em-subscription-editor.c | |
parent | 3f58ba3d833953c29bb6aa5e1834e2f367f15202 (diff) | |
download | gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.gz 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/em-subscription-editor.c')
-rw-r--r-- | mail/em-subscription-editor.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c index 321d245477..6a4112db42 100644 --- a/mail/em-subscription-editor.c +++ b/mail/em-subscription-editor.c @@ -27,7 +27,6 @@ #include "mail-mt.h" #include <e-util/e-util.h> -#include <e-util/e-binding.h> #include <e-util/e-account-utils.h> #include <e-util/e-util-private.h> #include <e-util/gconf-bridge.h> @@ -1222,9 +1221,11 @@ em_subscription_editor_init (EMSubscriptionEditor *editor) editor->priv->notebook = widget; gtk_widget_show (widget); - e_mutual_binding_new ( + g_object_bind_property ( editor->priv->combo_box, "active", - editor->priv->notebook, "page"); + editor->priv->notebook, "page", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); widget = gtk_vbutton_box_new (); gtk_box_set_spacing (GTK_BOX (widget), 6); |