Mercurial > pidgin
diff src/protocols/gg/gg.c @ 5136:381da05cb5ed
[gaim-migrate @ 5500]
this started out as simply adding an option to right-click on a jabber buddy
and re-request authorization. Then I ended up chasing the disgusting mess
of const vs non-const parameters all over gaim.
The end result is that you can now right-click on jabber buddies and
re-request auth like you can for ICQ. Also, a lot more things are const
that should be, I fixed a bug or two, and I cleaned up one of my least
favorite functions in gaim (linkify_text). It is now decidedly less evil.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 15 Apr 2003 04:18:00 +0000 |
parents | b37d7d09ec83 |
children | fefad67de2c7 |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Tue Apr 15 03:45:31 2003 +0000 +++ b/src/protocols/gg/gg.c Tue Apr 15 04:18:00 2003 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 5419 2003-04-07 23:17:27Z faceprint $ + * $Id: gg.c 5500 2003-04-15 04:18:00Z faceprint $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -265,7 +265,7 @@ } /* Enhance these functions, more options and such stuff */ -static GList *agg_buddy_menu(struct gaim_connection *gc, char *who) +static GList *agg_buddy_menu(struct gaim_connection *gc, const char *who) { GList *m = NULL; struct proto_buddy_menu *pbm; @@ -582,7 +582,7 @@ g_free(gc->proto_data); } -static int agg_send_im(struct gaim_connection *gc, char *who, char *msg, int len, int flags) +static int agg_send_im(struct gaim_connection *gc, const char *who, const char *msg, int len, int flags) { struct agg_data *gd = (struct agg_data *)gc->proto_data; gchar *imsg; @@ -1210,7 +1210,7 @@ return m; } -static void agg_get_info(struct gaim_connection *gc, char *who) +static void agg_get_info(struct gaim_connection *gc, const char *who) { struct agg_http *srch = g_new0(struct agg_http, 1); srch->gc = gc;