Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_chat.c

    r345577b r6e991a9  
    274274        }
    275275}
     276
     277void imcb_chat_list_finish(struct im_connection *ic)
     278{
     279        cmd_chat_list_finish(ic);
     280}
     281
     282void bee_chat_list_finish(struct im_connection *ic)
     283{
     284        imcb_log(ic, "Warning: using deprecated bee_chat_list_finish. This will be removed in the stable release.");
     285        imcb_chat_list_finish(ic);
     286}
     287
     288void imcb_chat_list_free(struct im_connection *ic)
     289{
     290        bee_chat_info_t *ci;
     291        GSList *l = ic->chatlist;
     292
     293        while (l) {
     294                ci = l->data;
     295                l = g_slist_delete_link(l, l);
     296
     297                g_free(ci->title);
     298                g_free(ci->topic);
     299                g_free(ci);
     300        }
     301
     302        ic->chatlist = NULL;
     303}
Note: See TracChangeset for help on using the changeset viewer.