diff options
Diffstat (limited to 'libempathy-gtk/empathy-contact-search-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-search-dialog.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c index 89a7918aa..e0b7c441f 100644 --- a/libempathy-gtk/empathy-contact-search-dialog.c +++ b/libempathy-gtk/empathy-contact-search-dialog.c @@ -275,13 +275,10 @@ _search_results_received (TpContactSearch *searcher, for (l = results; l != NULL; l = l->next) { TpContactSearchResult *result = l->data; - GtkTreeIter iter; - - gtk_list_store_append (priv->store, &iter); name = tp_contact_search_result_get_field (result, "fn"); - gtk_list_store_set (priv->store, &iter, + gtk_list_store_insert_with_values (priv->store, NULL, -1, NAME_COLUMN, name ? name->field_value[0] : NULL, LOGIN_COLUMN, tp_contact_search_result_get_identifier (result), -1); |