Changeset bf02a67 for protocols/msn


Ignore:
Timestamp:
2005-12-15T11:55:27Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
15832cc, bd69a21
Parents:
11e090b (diff), 547f937 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged Jelmer's pluginable tree (mainly useful for the Win32 port).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r11e090b rbf02a67  
    2626#include "nogaim.h"
    2727#include "msn.h"
    28 
    29 static struct prpl *my_protocol = NULL;
    3028
    3129static void msn_login( struct aim_user *acct )
     
    375373}
    376374
    377 void msn_init(struct prpl *ret)
    378 {
    379         ret->protocol = PROTO_MSN;
     375void msn_init()
     376{
     377        struct prpl *ret = g_new0(struct prpl, 1);
     378        ret->name = "msn";
    380379        ret->login = msn_login;
    381380        ret->close = msn_close;
     
    400399        ret->cmp_buddynames = g_strcasecmp;
    401400
    402         my_protocol = ret;
    403 }
     401        register_protocol(ret);
     402}
Note: See TracChangeset for help on using the changeset viewer.