empathy r2192 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2192 - trunk/libempathy
- Date: Fri, 9 Jan 2009 16:15:40 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 16:15:40 2009
New Revision: 2192
URL: http://svn.gnome.org/viewvc/empathy?rev=2192&view=rev
Log:
Make the error in the call_when_ready callback const
Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>
Modified:
trunk/libempathy/empathy-contact.c
trunk/libempathy/empathy-contact.h
Modified: trunk/libempathy/empathy-contact.c
==============================================================================
--- trunk/libempathy/empathy-contact.c (original)
+++ trunk/libempathy/empathy-contact.c Fri Jan 9 16:15:40 2009
@@ -394,7 +394,7 @@
}
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);
Modified: trunk/libempathy/empathy-contact.h
==============================================================================
--- trunk/libempathy/empathy-contact.h (original)
+++ trunk/libempathy/empathy-contact.h Fri Jan 9 16:15:40 2009
@@ -114,7 +114,7 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]