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-private.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/calendar/e-task-shell-view-private.c') diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c index a0ca5ee978..3b49ddbc5b 100644 --- a/modules/calendar/e-task-shell-view-private.c +++ b/modules/calendar/e-task-shell-view-private.c @@ -333,8 +333,8 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view) /* Listen for configuration changes. */ e_mutual_binding_new ( - G_OBJECT (shell_settings), "cal-confirm-purge", - G_OBJECT (task_shell_view), "confirm-purge"); + shell_settings, "cal-confirm-purge", + task_shell_view, "confirm-purge"); /* Hide Completed Tasks (enable/units/value) */ g_signal_connect_swapped ( -- cgit