]> git.0d.be Git - empathy.git/commitdiff
contact_list_store_contact_update: remove useless show_protocol variable
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 Jan 2010 12:34:28 +0000 (12:34 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 25 Jan 2010 16:04:20 +0000 (16:04 +0000)
libempathy-gtk/empathy-contact-list-store.c

index 130983661a8552bb05184135f78d2ffdd3e87927..91749e16fd86a329bbb1c815651ee32bd00bdd00 100644 (file)
@@ -1112,7 +1112,6 @@ contact_list_store_contact_update (EmpathyContactListStore *store,
        gboolean                    do_set_active = FALSE;
        gboolean                    do_set_refresh = FALSE;
        gboolean                    show_avatar = FALSE;
-       gboolean                    show_protocol = FALSE;
        GdkPixbuf                  *pixbuf_avatar;
        GdkPixbuf                  *pixbuf_status;
 
@@ -1207,9 +1206,6 @@ contact_list_store_contact_update (EmpathyContactListStore *store,
        if (priv->show_avatars && !priv->is_compact) {
                show_avatar = TRUE;
        }
-       if (priv->show_protocols && !priv->is_compact) {
-               show_protocol = TRUE;
-       }
        pixbuf_avatar = empathy_pixbuf_avatar_from_contact_scaled (contact, 32, 32);
        pixbuf_status = contact_list_store_get_contact_status_icon (store, contact);
        for (l = iters; l && set_model; l = l->next) {