aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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