changeset 2396:78fab38249a2

[gaim-migrate @ 2409] this was evil committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 30 Sep 2001 19:48:44 +0000
parents c014fd611443
children 520257562955
files src/multi.c src/multi.h
diffstat 2 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Sun Sep 30 05:31:14 2001 +0000
+++ b/src/multi.c	Sun Sep 30 19:48:44 2001 +0000
@@ -107,25 +107,6 @@
 #endif
 }
 
-struct gaim_connection *find_gaim_conn_by_name(char *name)
-{
-	char *who = g_strdup(normalize(name));
-	GSList *c = connections;
-	struct gaim_connection *g = NULL;
-
-	while (c) {
-		g = (struct gaim_connection *)c->data;
-		if (!strcmp(normalize(g->username), who)) {
-			g_free(who);
-			return g;
-		}
-		c = c->next;
-	}
-
-	g_free(who);
-	return NULL;
-}
-
 static void delete_acctedit(GtkWidget *w, gpointer d)
 {
 	if (acctedit) {
--- a/src/multi.h	Sun Sep 30 05:31:14 2001 +0000
+++ b/src/multi.h	Sun Sep 30 19:48:44 2001 +0000
@@ -107,8 +107,6 @@
 struct gaim_connection *new_gaim_conn(struct aim_user *);
 void destroy_gaim_conn(struct gaim_connection *);
 
-struct gaim_connection *find_gaim_conn_by_name(char *);
-
 void account_editor(GtkWidget *, GtkWidget *);
 void regenerate_user_list();