[empathy] contact_list_store_update_list_mode_foreach: remove useless show_protocol variable



commit 99ff3fc5e1115987daffeb3ba3ea75bace884247
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jan 18 12:34:54 2010 +0000

    contact_list_store_update_list_mode_foreach: remove useless show_protocol variable

 libempathy-gtk/empathy-contact-list-store.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 91749e1..08e6f59 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -1641,7 +1641,6 @@ contact_list_store_update_list_mode_foreach (GtkTreeModel           *model,
 {
 	EmpathyContactListStorePriv *priv;
 	gboolean                     show_avatar = FALSE;
-	gboolean                     show_protocol = FALSE;
 	EmpathyContact              *contact;
 	GdkPixbuf                   *pixbuf_status;
 
@@ -1650,9 +1649,6 @@ contact_list_store_update_list_mode_foreach (GtkTreeModel           *model,
 	if (priv->show_avatars && !priv->is_compact) {
 		show_avatar = TRUE;
 	}
-	if (priv->show_protocols && !priv->is_compact) {
-		show_protocol = TRUE;
-	}
 
 	gtk_tree_model_get (model, iter,
 			    EMPATHY_CONTACT_LIST_STORE_COL_CONTACT, &contact,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]