[empathy] new-chatroom-dialog: use gtk_list_store_insert_with_values()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] new-chatroom-dialog: use gtk_list_store_insert_with_values()
- Date: Thu, 29 Mar 2012 13:33:45 +0000 (UTC)
commit 07e7bd3fc715b1d6a35cb160abdf2ccc1ea595fa
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Mar 29 15:12:10 2012 +0200
new-chatroom-dialog: use gtk_list_store_insert_with_values()
src/empathy-new-chatroom-dialog.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index df30c2a..dd7e70a 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -617,7 +617,6 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list,
EmpathyNewChatroomDialog *dialog)
{
GtkListStore *store;
- GtkTreeIter iter;
gchar *members;
gchar *tooltip;
const gchar *need_password;
@@ -645,8 +644,7 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list,
need_password = (empathy_chatroom_get_need_password (chatroom) ?
GTK_STOCK_DIALOG_AUTHENTICATION : NULL);
- gtk_list_store_append (store, &iter);
- gtk_list_store_set (store, &iter,
+ gtk_list_store_insert_with_values (store, NULL, -1,
COL_NEED_PASSWORD, need_password,
COL_INVITE_ONLY, invite_only,
COL_NAME, empathy_chatroom_get_name (chatroom),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]