aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-task-shell-view-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-02 09:12:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-02 09:12:44 +0800
commit8962868ff902e58456c545478e62796029d1fe5c (patch)
treed43efa77beba51f716a259a3538dd55a38711923 /modules/calendar/e-task-shell-view-actions.c
parent6b2a55be48922c9fe5c94d654a4d463f23a428f2 (diff)
downloadgsoc2013-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/calendar/e-task-shell-view-actions.c')
-rw-r--r--modules/calendar/e-task-shell-view-actions.c8
1 files changed, 4 insertions, 4 deletions
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