]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/gossip-contact-list.c
[darcs-to-svn @ Syncing message history from gossip]
[empathy.git] / libempathy-gtk / gossip-contact-list.c
index a96c28e51939df91facb7bd36ddc87242fe52e8e..c5a49ceec39395cd3fb44617c8f1ccdcf582d1a4 100644 (file)
@@ -1181,7 +1181,7 @@ contact_list_add_contact (GossipContactList *list,
                return;
        }
 
-       model = GTK_TREE_MODEL (priv->store);
+       model = gtk_tree_view_get_model (GTK_TREE_VIEW (list));
 
        /* If no groups just add it at the top level. */
        groups = gossip_contact_get_groups (contact);