aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-binding.h
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 /e-util/e-binding.h
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 'e-util/e-binding.h')
-rw-r--r--e-util/e-binding.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/e-util/e-binding.h b/e-util/e-binding.h
index a36c94ec81..180edc9f49 100644
--- a/e-util/e-binding.h
+++ b/e-util/e-binding.h
@@ -66,39 +66,39 @@ struct _EMutualBinding {
EBindingLink reverse;
};
-EBinding * e_binding_new (GObject *src_object,
+EBinding * e_binding_new (gpointer src_object,
const gchar *src_property,
- GObject *dst_object,
+ gpointer dst_object,
const gchar *dst_property);
-EBinding * e_binding_new_full (GObject *src_object,
+EBinding * e_binding_new_full (gpointer src_object,
const gchar *src_property,
- GObject *dst_object,
+ gpointer dst_object,
const gchar *dst_property,
EBindingTransform transform,
GDestroyNotify destroy_notify,
gpointer user_data);
-EBinding * e_binding_new_with_negation (GObject *src_object,
+EBinding * e_binding_new_with_negation (gpointer src_object,
const gchar *src_property,
- GObject *dst_object,
+ gpointer dst_object,
const gchar *dst_property);
void e_binding_unbind (EBinding *binding);
-EMutualBinding *e_mutual_binding_new (GObject *object1,
+EMutualBinding *e_mutual_binding_new (gpointer object1,
const gchar *property1,
- GObject *object2,
+ gpointer object2,
const gchar *property2);
-EMutualBinding *e_mutual_binding_new_full (GObject *object1,
+EMutualBinding *e_mutual_binding_new_full (gpointer object1,
const gchar *property1,
- GObject *object2,
+ gpointer object2,
const gchar *property2,
EBindingTransform transform,
EBindingTransform reverse_transform,
GDestroyNotify destroy_notify,
gpointer user_data);
EMutualBinding *e_mutual_binding_new_with_negation
- (GObject *object1,
+ (gpointer object1,
const gchar *property1,
- GObject *object2,
+ gpointer object2,
const gchar *property2);
void e_mutual_binding_unbind (EMutualBinding *binding);