Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 12816:ff267281e882
[gaim-migrate @ 15164]
Get rid of a compile warning by changing the definition of
(*GaimPrefCallback) to pass a gconstpointer val instead of
gpointer
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 11 Jan 2006 04:32:12 +0000 |
parents | d5b8f4dc1622 |
children | 8e3b85fe4a55 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Wed Jan 11 03:42:22 2006 +0000 +++ b/src/protocols/oscar/oscar.c Wed Jan 11 04:32:12 2006 +0000 @@ -307,7 +307,7 @@ static void oscar_xfer_init_send(GaimXfer *xfer); static void oscar_direct_im_initiate(GaimConnection *gc, const char *who, const guchar *cookie); -static void recent_buddies_cb(const char *name, GaimPrefType type, gpointer value, gpointer data); +static void recent_buddies_cb(const char *name, GaimPrefType type, gconstpointer value, gpointer data); static void oscar_set_info(GaimConnection *gc, const char *info); static void oscar_set_info_and_status(GaimAccount *account, gboolean setinfo, const char *rawinfo, gboolean setstatus, GaimStatus *status); static void oscar_set_extendedstatus(GaimConnection *gc); @@ -8478,7 +8478,8 @@ } static void -recent_buddies_cb(const char *name, GaimPrefType type, gpointer value, gpointer data) +recent_buddies_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GaimConnection *gc = data; OscarData *od = gc->proto_data;