[libsocialweb] contacts: removed unused values_type



commit 45579d74e7180f826d33bec16a5aa9129e559dbe
Author: Alban Crequy <alban crequy collabora co uk>
Date:   Wed Apr 6 16:01:27 2011 +0100

    contacts: removed unused values_type

 libsocialweb/sw-contact-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libsocialweb/sw-contact-view.c b/libsocialweb/sw-contact-view.c
index 0091d92..04ffc31 100644
--- a/libsocialweb/sw-contact-view.c
+++ b/libsocialweb/sw-contact-view.c
@@ -607,7 +607,6 @@ sw_contact_view_remove_contacts (SwContactView *contact_view,
 
   for (l = contacts; l; l = l->next)
   {
-    int values_type = 0;
     contact = SW_CONTACT (l->data);
 
     value_array = g_value_array_new (2);
@@ -622,7 +621,6 @@ sw_contact_view_remove_contacts (SwContactView *contact_view,
     g_value_set_string (g_value_array_get_nth (value_array, 1),
                         sw_contact_get (contact, "id"));
 
-    g_object_get (contact, "values-type", &values_type, NULL);
     g_ptr_array_add (contacts_ptr_array, value_array);
   }
 



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