diff src/gtkconn.c @ 10850:fa06fda62868

[gaim-migrate @ 12522] GET OUTTA MY HOUSE!!! Thanks to Gary for showing me a list of non-namespaced stuff. I'm sure I missed some. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 19 Apr 2005 04:43:13 +0000
parents 55af3fa46329
children 5cda52915a1f
line wrap: on
line diff
--- a/src/gtkconn.c	Tue Apr 19 04:21:39 2005 +0000
+++ b/src/gtkconn.c	Tue Apr 19 04:43:13 2005 +0000
@@ -91,7 +91,7 @@
 	GtkWidget *reconnect_btn;
 	GtkWidget *reconnectall_btn;
 };
-struct disconnect_window *disconnect_window = NULL;
+static struct disconnect_window *disconnect_window = NULL;
 
 static void disconnect_connection_change_cb(GaimConnection *gc, void *data);
 
@@ -486,39 +486,3 @@
 {
 	return &conn_ui_ops;
 }
-
-/*
- * This function needs to be moved out of here once away messages are
- * core/UI split.
- */
-void away_on_login(const char *mesg)
-{
-#if 0 /* XXX CORE/UI */
-	GSList *awy = away_messages;
-	struct away_message *a, *message = NULL;
-	GaimGtkBuddyList *gtkblist;
-
-	gtkblist = GAIM_GTK_BLIST(gaim_get_blist());
-
-	if (!gtkblist->window) {
-		return;
-	}
-
-	if (mesg == NULL)
-		mesg = gaim_prefs_get_string("/core/away/default_message");
-	while (awy) {
-		a = (struct away_message *)awy->data;
-		if (strcmp(a->name, mesg) == 0) {
-			message = a;
-			break;
-		}
-		awy = awy->next;
-	}
-	if (message == NULL) {
-		if(!away_messages)
-			return;
-		message = away_messages->data;
-	}
-	do_away_message(NULL, message);
-#endif
-}