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/calendar/e-task-shell-view-actions.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/calendar/e-task-shell-view-actions.c') diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c index b08f9656c9..7b70ec1902 100644 --- a/modules/calendar/e-task-shell-view-actions.c +++ b/modules/calendar/e-task-shell-view-actions.c @@ -1135,12 +1135,12 @@ e_task_shell_view_actions_init (ETaskShellView *task_shell_view) G_CALLBACK (action_search_execute_cb), task_shell_view); e_binding_new ( - G_OBJECT (ACTION (TASK_PREVIEW)), "active", - G_OBJECT (ACTION (TASK_VIEW_CLASSIC)), "sensitive"); + ACTION (TASK_PREVIEW), "active", + ACTION (TASK_VIEW_CLASSIC), "sensitive"); e_binding_new ( - G_OBJECT (ACTION (TASK_PREVIEW)), "active", - G_OBJECT (ACTION (TASK_VIEW_VERTICAL)), "sensitive"); + ACTION (TASK_PREVIEW), "active", + ACTION (TASK_VIEW_VERTICAL), "sensitive"); } void -- cgit v1.2.3