Changeset de2f05e for skype/skype.c


Ignore:
Timestamp:
2007-11-20T09:47:43Z (16 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
cbb5fb7
Parents:
a5f76a2
Message:

fixes for the recent upstream API changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    ra5f76a2 rde2f05e  
    183183        struct groupchat *ret;
    184184
    185         for( ret = ic->conversations; ret; ret = ret->next )
     185        for( ret = ic->groupchats; ret; ret = ret->next )
    186186        {
    187187                if(strcmp(name, ret->title ) == 0 )
     
    347347                                                                {
    348348                                                                        if(gc)
    349                                                                                 imcb_chat_topic(gc, sd->handle, body);
     349                                                                                imcb_chat_topic(gc, sd->handle, body, 0);
    350350                                                                }
    351351                                                                else if(!strcmp(sd->type, "LEFT"))
     
    648648static GList *skype_away_states( struct im_connection *ic )
    649649{
    650         GList *l = NULL;
     650        static GList *l = NULL;
    651651        int i;
    652652       
    653         for( i = 0; skype_away_state_list[i].full_name; i ++ )
    654                 l = g_list_append( l, (void*) skype_away_state_list[i].full_name );
     653        if( l == NULL )
     654                for( i = 0; skype_away_state_list[i].full_name; i ++ )
     655                        l = g_list_append( l, (void*) skype_away_state_list[i].full_name );
    655656       
    656657        return l;
Note: See TracChangeset for help on using the changeset viewer.