diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-02 09:12:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-02 09:12:44 +0800 |
commit | 8962868ff902e58456c545478e62796029d1fe5c (patch) | |
tree | d43efa77beba51f716a259a3538dd55a38711923 /modules/addressbook/autocompletion-config.c | |
parent | 6b2a55be48922c9fe5c94d654a4d463f23a428f2 (diff) | |
download | gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.gz gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.zst gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.zip |
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.
Diffstat (limited to 'modules/addressbook/autocompletion-config.c')
-rw-r--r-- | modules/addressbook/autocompletion-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |