libpurple/purpleperson.c

changeset 43128
1ce3ad90614c
parent 43071
071588186662
child 43171
914049a55a72
equal deleted inserted replaced
43127:eae3279e871c 43128:1ce3ad90614c
102 102
103 g_ptr_array_sort(person->contacts, purple_person_contact_compare); 103 g_ptr_array_sort(person->contacts, purple_person_contact_compare);
104 104
105 /* Tell the list we update our stuff. */ 105 /* Tell the list we update our stuff. */
106 g_list_model_items_changed(G_LIST_MODEL(person), 0, n_items, n_items); 106 g_list_model_items_changed(G_LIST_MODEL(person), 0, n_items, n_items);
107 g_object_notify_by_pspec(G_OBJECT(person), properties[PROP_N_ITEMS]);
107 108
108 /* See if the priority contact changed. */ 109 /* See if the priority contact changed. */
109 new_priority = g_ptr_array_index(person->contacts, 0); 110 new_priority = g_ptr_array_index(person->contacts, 0);
110 if(original_priority != new_priority) { 111 if(original_priority != new_priority) {
111 PurpleAvatar *old_avatar = NULL; 112 PurpleAvatar *old_avatar = NULL;

mercurial