empathy r2348 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2348 - trunk/libempathy-gtk
- Date: Fri, 30 Jan 2009 17:35:15 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 30 17:35:15 2009
New Revision: 2348
URL: http://svn.gnome.org/viewvc/empathy?rev=2348&view=rev
Log:
Use gtk_tree_store_insert_with_values.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy-gtk/empathy-contact-selector.c
Modified: trunk/libempathy-gtk/empathy-contact-selector.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-selector.c (original)
+++ trunk/libempathy-gtk/empathy-contact-selector.c Fri Jan 30 17:35:15 2009
@@ -105,8 +105,8 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]