diff libpurple/protocols/bonjour/bonjour.c @ 15462:0b6f337a46d5

Emblems in the blist
author Sean Egan <seanegan@gmail.com>
date Tue, 30 Jan 2007 06:53:23 +0000
parents 42961709cb30
children 6c686942a227
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour.c	Tue Jan 30 05:27:44 2007 +0000
+++ b/libpurple/protocols/bonjour/bonjour.c	Tue Jan 30 06:53:23 2007 +0000
@@ -289,19 +289,6 @@
 	bonjour_jabber_close_conversation(((BonjourData*)(connection->proto_data))->jabber_data, buddy);
 }
 
-static void
-bonjour_list_emblems(GaimBuddy *buddy,
-								 const char **se, const char **sw,
-								 const char **nw, const char **ne)
-{
-	GaimPresence *presence;
-
-	presence = gaim_buddy_get_presence(buddy);
-
-	if (gaim_presence_is_online(presence) && !gaim_presence_is_available(presence))
-		*se = "away";
-}
-
 static char *
 bonjour_status_text(GaimBuddy *buddy)
 {
@@ -359,7 +346,7 @@
 	/* {"png", 0, 0, 96, 96, 0, GAIM_ICON_SCALE_DISPLAY}, */ /* icon_spec */
 	NO_BUDDY_ICONS, /* not yet */                            /* icon_spec */
 	bonjour_list_icon,                                       /* list_icon */
-	bonjour_list_emblems,                                    /* list_emblems */
+	NULL, 		                      			 /* list_emblem */
 	bonjour_status_text,                                     /* status_text */
 	bonjour_tooltip_text,                                    /* tooltip_text */
 	bonjour_status_types,                                    /* status_types */