From 8962868ff902e58456c545478e62796029d1fe5c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 1 Sep 2009 21:12:44 -0400 Subject: Relax the EBinding API to reduce GObject casting. Also make it more fault-tolerant by warning about non-existent property names instead of just crashing. --- modules/addressbook/autocompletion-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/addressbook/autocompletion-config.c') diff --git a/modules/addressbook/autocompletion-config.c b/modules/addressbook/autocompletion-config.c index eb0c802196..7afc18d382 100644 --- a/modules/addressbook/autocompletion-config.c +++ b/modules/addressbook/autocompletion-config.c @@ -164,8 +164,8 @@ autocompletion_config_new (EShell *shell) widget = gtk_check_button_new_with_mnemonic ( _("Always _show address of the autocompleted contact")); e_mutual_binding_new ( - G_OBJECT (shell_settings), "book-completion-show-address", - G_OBJECT (widget), "active"); + shell_settings, "book-completion-show-address", + widget, "active"); gtk_box_pack_start (GTK_BOX (itembox), widget, FALSE, FALSE, 0); gtk_widget_show (widget); -- cgit