Changeset 7b23afd for protocols/msn


Ignore:
Timestamp:
2005-11-07T16:16:18Z (15 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
f7f3ada
Parents:
fe51bcf
Message:

Migrate my pluginable branch to use Wilmers' branch as parent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    rfe51bcf r7b23afd  
    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;
     
    399398        ret->send_typing = msn_send_typing;
    400399
    401         my_protocol = ret;
    402 }
     400        register_protocol(ret);
     401}
Note: See TracChangeset for help on using the changeset viewer.