empathy_contact_block_menu_item_new: remove unused EmpathyContactManager
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 9 Nov 2011 09:01:50 +0000 (10:01 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 9 Nov 2011 09:01:50 +0000 (10:01 +0100)
libempathy-gtk/empathy-contact-menu.c

index a6f5a209d14719e06be82c476fb5add0bbc42fe4..f47b95ff153689024dcdb027747872513fdcea65 100644 (file)
@@ -269,14 +269,11 @@ static GtkWidget *
 empathy_contact_block_menu_item_new (EmpathyContact *contact)
 {
        GtkWidget *item;
-       EmpathyContactManager *manager;
        TpConnection *connection;
        TpContact *tp_contact;
 
        g_return_val_if_fail (EMPATHY_IS_CONTACT (contact), NULL);
 
-       manager = empathy_contact_manager_dup_singleton ();
-
        if (!empathy_contact_manager_initialized ()) {
                return NULL;
        }