aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-attachment-bar.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 /mail/e-mail-attachment-bar.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 'mail/e-mail-attachment-bar.c')
-rw-r--r--mail/e-mail-attachment-bar.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/e-mail-attachment-bar.c b/mail/e-mail-attachment-bar.c
index fd53292610..ae98aad926 100644
--- a/mail/e-mail-attachment-bar.c
+++ b/mail/e-mail-attachment-bar.c
@@ -280,28 +280,28 @@ mail_attachment_bar_constructed (GObject *object)
/* Set up property-to-property bindings. */
e_mutual_binding_new (
- G_OBJECT (object), "active-view",
- G_OBJECT (priv->combo_box), "active");
+ object, "active-view",
+ priv->combo_box, "active");
e_mutual_binding_new (
- G_OBJECT (object), "editable",
- G_OBJECT (priv->icon_view), "editable");
+ object, "editable",
+ priv->icon_view, "editable");
e_mutual_binding_new (
- G_OBJECT (object), "editable",
- G_OBJECT (priv->tree_view), "editable");
+ object, "editable",
+ priv->tree_view, "editable");
e_mutual_binding_new (
- G_OBJECT (object), "expanded",
- G_OBJECT (priv->expander), "expanded");
+ object, "expanded",
+ priv->expander, "expanded");
e_mutual_binding_new (
- G_OBJECT (object), "expanded",
- G_OBJECT (priv->combo_box), "visible");
+ object, "expanded",
+ priv->combo_box, "visible");
e_mutual_binding_new (
- G_OBJECT (object), "expanded",
- G_OBJECT (priv->vbox), "visible");
+ object, "expanded",
+ priv->vbox, "visible");
/* Set up property-to-GConf bindings. */