changeset 20843:a2b2fc59b571

merge of '067c06f2c33e5371796629696a9aad6afa4e9ead' and 'e7a18c70a00a0534e1e6f7956970e10d6d0b69ec'
author Luke Schierer <lschiere@pidgin.im>
date Tue, 09 Oct 2007 13:41:11 +0000
parents 58b9a33968e1 (diff) 9da2ac85ce81 (current diff)
children 6668c0cd4687 488796f5ba33
files
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Tue Oct 09 07:37:26 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Tue Oct 09 13:41:11 2007 +0000
@@ -1721,7 +1721,6 @@
 {
 	PurpleConnection *gc;
 	PurpleAccount *account;
-	PurplePresence *presence;
 	struct buddyinfo *bi;
 	time_t time_idle = 0, signon = 0;
 	int type = 0;
@@ -1734,7 +1733,6 @@
 
 	gc = od->gc;
 	account = purple_connection_get_account(gc);
-	presence = purple_account_get_presence(account);
 
 	va_start(ap, fr);
 	info = va_arg(ap, aim_userinfo_t *);
--- a/pidgin/gtkblist.c	Tue Oct 09 07:37:26 2007 +0000
+++ b/pidgin/gtkblist.c	Tue Oct 09 13:41:11 2007 +0000
@@ -4347,7 +4347,6 @@
                                 gpointer user_data)
 {
 	PurpleAccount *account;
-	PurpleStatusType *status_type;
 	gchar *escaped, *text;
 	GtkWidget *button, *label, *image, *hbox;
 	GdkPixbuf *pixbuf;
@@ -4362,8 +4361,8 @@
 	hbox = gtk_hbox_new(FALSE, 6);
 
 	/* Create the icon */
-	if ((status_type = purple_account_get_status_type_with_primitive(account,
-							PURPLE_STATUS_OFFLINE))) {
+	if (purple_account_get_status_type_with_primitive(account,
+							PURPLE_STATUS_OFFLINE) != NULL) {
 		pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
 		if (pixbuf != NULL) {
 			image = gtk_image_new_from_pixbuf(pixbuf);