aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:15:40 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:15:40 +0800
commit94255bf43b3fb2dd2684c87b18dbf8448f72d8fb (patch)
tree72590ddf288a14d10a2d15e633f9c16c8b350c09 /libempathy
parent5cc4714ecf91bc2605223594f4726722a99174fd (diff)
downloadgsoc2013-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
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c2
-rw-r--r--libempathy/empathy-contact.h2
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