aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:15:34 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:15:34 +0800
commit7a745019ad8b2bf41ba32bc12d0ca30245b36d40 (patch)
tree6e17dd4ed5f407e2e34be1f86159864d521c49e8 /libempathy/empathy-contact.h
parentc870b1b51063dff7e5218d8bd6bdc565cb69b577 (diff)
downloadgsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.tar
gsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.tar.gz
gsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.tar.bz2
gsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.tar.lz
gsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.tar.xz
gsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.tar.zst
gsoc2013-empathy-7a745019ad8b2bf41ba32bc12d0ca30245b36d40.zip
Add weak object, destroy notify and error reporting to empathy_contact_call_when_ready
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2190
Diffstat (limited to 'libempathy/empathy-contact.h')
-rw-r--r--libempathy/empathy-contact.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index 19f15c3c5..b8d970d97 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -114,10 +114,11 @@ gboolean empathy_contact_equal (gconstpointer v1, gconstpointer v2);
guint empathy_contact_hash (gconstpointer key);
typedef void (EmpathyContactReadyCb)
- (EmpathyContact *contact, gpointer user_data);
+ (EmpathyContact *contact, GError *error, gpointer user_data,
+ GObject *weak_object);
void empathy_contact_call_when_ready (EmpathyContact *contact,
EmpathyContactReady ready, EmpathyContactReadyCb *callback, gpointer
- user_data);
+ user_data, GDestroyNotify destroy, GObject *weak_object);
void empathy_contact_run_until_ready (EmpathyContact *contact,
EmpathyContactReady ready, GMainLoop **loop);