]> git.0d.be Git - empathy.git/blobdiff - src/empathy-chatrooms-window.c
Renamed empathy_account_chooser_get_account to empathy_account_chooser_dup_account...
[empathy.git] / src / empathy-chatrooms-window.c
index acd559e5f03c0497d1f934a067bebe09874db984..fa63d5a514e044ce7d1856eea124c888d16e453f 100644 (file)
@@ -318,7 +318,7 @@ chatrooms_window_model_refresh_data (EmpathyChatroomsWindow *window,
 
        /* Look up chatrooms */
        account_chooser = EMPATHY_ACCOUNT_CHOOSER (window->account_chooser);
 
        /* Look up chatrooms */
        account_chooser = EMPATHY_ACCOUNT_CHOOSER (window->account_chooser);
-       account = empathy_account_chooser_get_account (account_chooser);
+       account = empathy_account_chooser_dup_account (account_chooser);
 
        chatrooms = empathy_chatroom_manager_get_chatrooms (window->manager, account);
 
 
        chatrooms = empathy_chatroom_manager_get_chatrooms (window->manager, account);
 
@@ -509,7 +509,7 @@ chatrooms_window_chatroom_added_cb (EmpathyChatroomManager *manager,
        McAccount            *account;
 
        account_chooser = EMPATHY_ACCOUNT_CHOOSER (window->account_chooser);
        McAccount            *account;
 
        account_chooser = EMPATHY_ACCOUNT_CHOOSER (window->account_chooser);
-       account = empathy_account_chooser_get_account (account_chooser);
+       account = empathy_account_chooser_dup_account (account_chooser);
 
        if (!account) {
                chatrooms_window_model_add (window, chatroom, FALSE);
 
        if (!account) {
                chatrooms_window_model_add (window, chatroom, FALSE);