diff options
Diffstat (limited to 'src/empathy-chatrooms-window.c')
-rw-r--r-- | src/empathy-chatrooms-window.c | 3 |
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), |