aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-29 21:12:10 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-29 21:24:21 +0800
commit2736d7a4010eb83102e4e455a1133487d2612bd4 (patch)
treef31304c403bf82ed38232cc00c5a64e19124a745
parent30e1511b7d5ea2e98c948e6a8ffffef937544d6e (diff)
downloadgsoc2013-empathy-2736d7a4010eb83102e4e455a1133487d2612bd4.tar.gz
gsoc2013-empathy-2736d7a4010eb83102e4e455a1133487d2612bd4.tar.zst
gsoc2013-empathy-2736d7a4010eb83102e4e455a1133487d2612bd4.zip
chatrooms-window: use gtk_list_store_insert_with_values()
-rw-r--r--src/empathy-chatrooms-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c
index 1ebe80bd2..2aa0f05cf 100644
--- a/src/empathy-chatrooms-window.c
+++ b/src/empathy-chatrooms-window.c
@@ -348,8 +348,7 @@ chatrooms_window_model_add (EmpathyChatroomsWindow *window,
model = gtk_tree_view_get_model (view);
store = GTK_LIST_STORE (model);
- gtk_list_store_append (store, &iter);
- gtk_list_store_set (store, &iter,
+ gtk_list_store_insert_with_values (store, &iter, -1,
COL_NAME, empathy_chatroom_get_name (chatroom),
COL_ROOM, empathy_chatroom_get_room (chatroom),
COL_AUTO_CONNECT, empathy_chatroom_get_auto_connect (chatroom),