Commit 56938e43 authored by Jonny Lamb's avatar Jonny Lamb Committed by Xavier Claessens

Use gtk_tree_store_insert_with_values.

Signed-off-by: 's avatarJonny Lamb <jonny.lamb@collabora.co.uk>

svn path=/trunk/; revision=2348
parent 1c17073f
......@@ -105,8 +105,8 @@ contact_selector_add_blank_contact (EmpathyContactSelector *selector)
EmpathyContactSelectorPriv *priv = GET_PRIV (selector);
GtkTreeIter blank_iter;
gtk_tree_store_insert (GTK_TREE_STORE (priv->store), &blank_iter, NULL, 0);
gtk_tree_store_set (GTK_TREE_STORE (priv->store), &blank_iter,
gtk_tree_store_insert_with_values (
GTK_TREE_STORE (priv->store),&blank_iter, NULL, 0,
EMPATHY_CONTACT_LIST_STORE_COL_CONTACT, NULL,
EMPATHY_CONTACT_LIST_STORE_COL_NAME, (_("Select a contact")),
EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE, FALSE, -1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment