aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-memo-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-memo-shell-view-actions.c
parent6b2a55be48922c9fe5c94d654a4d463f23a428f2 (diff)
downloadgsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.gz
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.bz2
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.lz
gsoc2013-evolution-8962868ff902e58456c545478e62796029d1fe5c.tar.xz
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-memo-shell-view-actions.c')
-rw-r--r--modules/calendar/e-memo-shell-view-actions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c
index 8604d8e2c5..991c99b5d1 100644
--- a/modules/calendar/e-memo-shell-view-actions.c
+++ b/modules/calendar/e-memo-shell-view-actions.c
@@ -935,12 +935,12 @@ e_memo_shell_view_actions_init (EMemoShellView *memo_shell_view)
G_CALLBACK (action_search_execute_cb), memo_shell_view);
e_binding_new (
- G_OBJECT (ACTION (MEMO_PREVIEW)), "active",
- G_OBJECT (ACTION (MEMO_VIEW_CLASSIC)), "sensitive");
+ ACTION (MEMO_PREVIEW), "active",
+ ACTION (MEMO_VIEW_CLASSIC), "sensitive");
e_binding_new (
- G_OBJECT (ACTION (MEMO_PREVIEW)), "active",
- G_OBJECT (ACTION (MEMO_VIEW_VERTICAL)), "sensitive");
+ ACTION (MEMO_PREVIEW), "active",
+ ACTION (MEMO_VIEW_VERTICAL), "sensitive");
}
void