diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-10 00:15:40 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-10 00:15:40 +0800 |
commit | 828bf9a0d569ce7383b0323aafcddaa12b40263a (patch) | |
tree | 72590ddf288a14d10a2d15e633f9c16c8b350c09 /libempathy | |
parent | a0a07725cad36ce54e899aedbf4c37b109b95f55 (diff) | |
download | gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.tar gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.tar.gz gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.tar.bz2 gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.tar.lz gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.tar.xz gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.tar.zst gsoc2013-empathy-828bf9a0d569ce7383b0323aafcddaa12b40263a.zip |
Make the error in the call_when_ready callback const
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2192 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-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 |