diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-31 01:35:15 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2009-01-31 01:35:15 +0800 |
commit | f9812f78922e42c0335e6103c6ec1bf236824de1 (patch) | |
tree | 4313a4c75efac7d3ec18c1dde63e5ab9da5f3244 | |
parent | f9d1a0fa3ea648ef3878bb92e9248d37646ed65e (diff) | |
download | gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.tar gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.tar.gz gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.tar.bz2 gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.tar.lz gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.tar.xz gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.tar.zst gsoc2013-empathy-f9812f78922e42c0335e6103c6ec1bf236824de1.zip |
Use gtk_tree_store_insert_with_values.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2348 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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); |