diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-02 09:12:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-02 09:12:44 +0800 |
commit | 8962868ff902e58456c545478e62796029d1fe5c (patch) | |
tree | d43efa77beba51f716a259a3538dd55a38711923 /composer/e-composer-private.c | |
parent | 6b2a55be48922c9fe5c94d654a4d463f23a428f2 (diff) | |
download | gsoc2013-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 'composer/e-composer-private.c')
-rw-r--r-- | composer/e-composer-private.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index bfb14b451a..dfff72a5a8 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -267,12 +267,12 @@ e_composer_private_init (EMsgComposer *composer) } e_mutual_binding_new ( - G_OBJECT (header), "sensitive", - G_OBJECT (action), "sensitive"); + header, "sensitive", + action, "sensitive"); e_mutual_binding_new ( - G_OBJECT (header), "visible", - G_OBJECT (action), "active"); + header, "visible", + action, "active"); } } |