Ignore:
Timestamp:
2006-03-31T07:12:27Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
755ae5b
Parents:
a014331
Message:

Removed some unused stuff from nogaim.h, preparing to fix some API issues there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    ra014331 r192b80a  
    18851885}
    18861886
    1887 static void jabber_set_idle(struct gaim_connection *gc, int idle) {
    1888         struct jabber_data *jd = (struct jabber_data *)gc->proto_data;
    1889         jd->idle = idle ? time(NULL) - idle : idle;
    1890 }
    1891 
    18921887static void jabber_keepalive(struct gaim_connection *gc) {
    18931888        struct jabber_data *jd = (struct jabber_data *)gc->proto_data;
    18941889        gjab_send_raw(jd->gjc, "  \t  ");
    1895 }
    1896 
    1897 static void jabber_buddy_free(struct buddy *b)
    1898 {
    1899         while (b->proto_data) {
    1900                 g_free(((GSList *)b->proto_data)->data);
    1901                 b->proto_data = g_slist_remove(b->proto_data, ((GSList *)b->proto_data)->data);
    1902         }
    19031890}
    19041891
     
    23382325}
    23392326
    2340 
    2341 static GList *jabber_actions()
    2342 {
    2343         GList *m = NULL;
    2344 
    2345         m = g_list_append(m, _("Set User Info"));
    2346         /*
    2347         m = g_list_append(m, _("Set Dir Info"));
    2348         m = g_list_append(m, _("Change Password"));
    2349          */
    2350 
    2351         return m;
    2352 }
    2353 
    2354 
    23552327void jabber_init()
    23562328{
    23572329        struct prpl *ret = g_new0(struct prpl, 1);
    23582330
    2359         /* the NULL's aren't required but they're nice to have */
    23602331        ret->name = "jabber";
    23612332        ret->away_states = jabber_away_states;
    2362         ret->actions = jabber_actions;
    23632333        ret->login = jabber_login;
    23642334        ret->close = jabber_close;
     
    23682338        ret->set_away = jabber_set_away;
    23692339        ret->get_away = jabber_get_away_msg;
    2370         ret->set_idle = jabber_set_idle;
    23712340        ret->add_buddy = jabber_add_buddy;
    23722341        ret->remove_buddy = jabber_remove_buddy;
    2373         ret->add_permit = NULL;
    2374         ret->add_deny = NULL;
    2375         ret->rem_permit = NULL;
    2376         ret->rem_deny = NULL;
    2377         ret->set_permit_deny = NULL;
    23782342        ret->keepalive = jabber_keepalive;
    2379         ret->buddy_free = jabber_buddy_free;
    23802343        ret->alias_buddy = jabber_roster_update;
    23812344        ret->group_buddy = jabber_group_change;
Note: See TracChangeset for help on using the changeset viewer.