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/e-book-shell-view-actions.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/addressbook/e-book-shell-view-actions.c') diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c index 5daf7e51df..bbe613786f 100644 --- a/modules/addressbook/e-book-shell-view-actions.c +++ b/modules/addressbook/e-book-shell-view-actions.c @@ -1009,12 +1009,12 @@ e_book_shell_view_actions_init (EBookShellView *book_shell_view) G_CALLBACK (action_search_execute_cb), book_shell_view); e_binding_new ( - G_OBJECT (ACTION (CONTACT_PREVIEW)), "active", - G_OBJECT (ACTION (CONTACT_VIEW_CLASSIC)), "sensitive"); + ACTION (CONTACT_PREVIEW), "active", + ACTION (CONTACT_VIEW_CLASSIC), "sensitive"); e_binding_new ( - G_OBJECT (ACTION (CONTACT_PREVIEW)), "active", - G_OBJECT (ACTION (CONTACT_VIEW_VERTICAL)), "sensitive"); + ACTION (CONTACT_PREVIEW), "active", + ACTION (CONTACT_VIEW_VERTICAL), "sensitive"); } void -- cgit