diff src/dialogs.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 4cfc49e31c2e
children fefad67de2c7
line wrap: on
line diff
--- a/src/dialogs.c	Tue Apr 15 03:45:31 2003 +0000
+++ b/src/dialogs.c	Tue Apr 15 04:18:00 2003 +0000
@@ -150,7 +150,7 @@
 
 static GSList *info_dlgs = NULL;
 
-static struct info_dlg *find_info_dlg(struct gaim_connection *gc, char *who)
+static struct info_dlg *find_info_dlg(struct gaim_connection *gc, const char *who)
 {
 	GSList *i = info_dlgs;
 	while (i) {
@@ -2012,7 +2012,7 @@
  *
  * i wish this were my client. if i were i wouldn't have to deal with this shit.
  */
-void g_show_info_text(struct gaim_connection *gc, char *who, int away, char *info, ...)
+void g_show_info_text(struct gaim_connection *gc, const char *who, int away, const char *info, ...)
 {
 	GtkWidget *ok;
 	GtkWidget *label;