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. --- widgets/misc/e-attachment-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/misc/e-attachment-view.c') diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c index 345510230b..17a2b6c9b4 100644 --- a/widgets/misc/e-attachment-view.c +++ b/widgets/misc/e-attachment-view.c @@ -801,8 +801,8 @@ e_attachment_view_init (EAttachmentView *view) action_group = e_attachment_view_add_action_group (view, "editable"); e_mutual_binding_new ( - G_OBJECT (view), "editable", - G_OBJECT (action_group), "visible"); + view, "editable", + action_group, "visible"); gtk_action_group_add_actions ( action_group, editable_entries, G_N_ELEMENTS (editable_entries), view); -- cgit v1.2.3