Ignore:
Timestamp:
2005-12-14T01:17:25Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
547f937
Parents:
22bf64e (diff), 568aaf7 (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:

Merge my pluginable branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r22bf64e r703f0f7  
    155155#define JCS_CLOSED  3   /* closed */
    156156
    157 
    158 static char *jabber_name()
    159 {
    160         return "Jabber";
    161 }
    162157
    163158#define STATE_EVT(arg) if(gjc->on_state) { (gjc->on_state)(gjc, (arg) ); }
     
    23682363}
    23692364
    2370 static struct prpl *my_protocol = NULL;
    2371 
    2372 void jabber_init(struct prpl *ret)
    2373 {
     2365
     2366void jabber_init()
     2367{
     2368        struct prpl *ret = g_new0(struct prpl, 1);
     2369
    23742370        /* the NULL's aren't required but they're nice to have */
    2375         ret->protocol = PROTO_JABBER;
    2376         ret->name = jabber_name;
     2371        ret->name = "jabber";
    23772372        ret->away_states = jabber_away_states;
    23782373        ret->actions = jabber_actions;
     
    23982393        ret->cmp_buddynames = g_strcasecmp;
    23992394
    2400         my_protocol = ret;
    2401 }
     2395        register_protocol (ret);
     2396}
Note: See TracChangeset for help on using the changeset viewer.