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. --- modules/addressbook/autocompletion-config.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/addressbook/autocompletion-config.c') diff --git a/modules/addressbook/autocompletion-config.c b/modules/addressbook/autocompletion-config.c index c7ee192962..05b2b980d3 100644 --- a/modules/addressbook/autocompletion-config.c +++ b/modules/addressbook/autocompletion-config.c @@ -30,7 +30,6 @@ #include #include -#include "e-util/e-binding.h" #include "e-util/e-datetime-format.h" static void @@ -166,9 +165,11 @@ autocompletion_config_new (EPreferencesWindow *window) widget = gtk_check_button_new_with_mnemonic ( _("Always _show address of the autocompleted contact")); - e_mutual_binding_new ( + g_object_bind_property ( shell_settings, "book-completion-show-address", - widget, "active"); + widget, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); gtk_box_pack_start (GTK_BOX (itembox), widget, FALSE, FALSE, 0); gtk_widget_show (widget); -- cgit