diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-01-10 00:15:40 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-10 00:15:40 +0800 |
commit | 94255bf43b3fb2dd2684c87b18dbf8448f72d8fb (patch) | |
tree | 72590ddf288a14d10a2d15e633f9c16c8b350c09 | |
parent | 5cc4714ecf91bc2605223594f4726722a99174fd (diff) | |
download | gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.tar gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.tar.gz gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.tar.bz2 gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.tar.lz gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.tar.xz gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.tar.zst gsoc2013-empathy-94255bf43b3fb2dd2684c87b18dbf8448f72d8fb.zip |
Make the error in the call_when_ready callback const
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2192
-rw-r--r-- | libempathy/empathy-contact.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-contact.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 6c521650f..437b726bb 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -394,7 +394,7 @@ contact_weak_object_notify (gpointer data, GObject *old_object) } static void -contact_call_ready_callback (EmpathyContact *contact, GError *error, +contact_call_ready_callback (EmpathyContact *contact, const GError *error, ReadyCbData *data) { data->callback (contact, error, data->user_data, data->weak_object); diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index b8d970d97..52c969f61 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -114,7 +114,7 @@ gboolean empathy_contact_equal (gconstpointer v1, gconstpointer v2); guint empathy_contact_hash (gconstpointer key); typedef void (EmpathyContactReadyCb) - (EmpathyContact *contact, GError *error, gpointer user_data, + (EmpathyContact *contact, const GError *error, gpointer user_data, GObject *weak_object); void empathy_contact_call_when_ready (EmpathyContact *contact, EmpathyContactReady ready, EmpathyContactReadyCb *callback, gpointer |