diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-01-31 01:35:15 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-31 01:35:15 +0800 |
commit | 56938e43323f7b967beec149fcb18382bfb2e7df (patch) | |
tree | 4313a4c75efac7d3ec18c1dde63e5ab9da5f3244 /libempathy-gtk | |
parent | 1c17073f1f3156c8746ca9ef149435e1328193fa (diff) | |
download | gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.tar gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.tar.gz gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.tar.bz2 gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.tar.lz gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.tar.xz gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.tar.zst gsoc2013-empathy-56938e43323f7b967beec149fcb18382bfb2e7df.zip |
Use gtk_tree_store_insert_with_values.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2348
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-selector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c index eb1e67689..f1a1a6873 100644 --- a/libempathy-gtk/empathy-contact-selector.c +++ b/libempathy-gtk/empathy-contact-selector.c @@ -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); |