diff libpurple/protocols/irc/irc.c @ 15463:0b6f337a46d5

Emblems in the blist
author Sean Egan <seanegan@gmail.com>
date Tue, 30 Jan 2007 06:53:23 +0000
parents 5fe8042783c1
children 32c366eeeb99
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Tue Jan 30 05:27:44 2007 +0000
+++ b/libpurple/protocols/irc/irc.c	Tue Jan 30 06:53:23 2007 +0000
@@ -42,7 +42,6 @@
 static void irc_buddy_append(char *name, struct irc_buddy *ib, GString *string);
 
 static const char *irc_blist_icon(GaimAccount *a, GaimBuddy *b);
-static void irc_blist_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne);
 static GList *irc_status_types(GaimAccount *account);
 static GList *irc_actions(GaimPlugin *plugin, gpointer context);
 /* static GList *irc_chat_info(GaimConnection *gc); */
@@ -222,15 +221,6 @@
 	return "irc";
 }
 
-static void irc_blist_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne)
-{
-	GaimPresence *presence = gaim_buddy_get_presence(b);
-
-	if (gaim_presence_is_online(presence) == FALSE) {
-		*se = "offline";
-	}
-}
-
 static GList *irc_status_types(GaimAccount *account)
 {
 	GaimStatusType *type;
@@ -813,7 +803,7 @@
 	NULL,					/* protocol_options */
 	NO_BUDDY_ICONS,		/* icon_spec */
 	irc_blist_icon,		/* list_icon */
-	irc_blist_emblems,	/* list_emblems */
+	NULL,			/* list_emblems */
 	NULL,					/* status_text */
 	NULL,					/* tooltip_text */
 	irc_status_types,	/* away_states */