Changeset 91cec2f for protocols/twitter


Ignore:
Timestamp:
2010-04-07T21:38:56Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2e3a857
Parents:
123cac7
Message:

It'd be nice to not crash when the user goes away. :-)

Don't export no-op set_away() funcs/etc and make nogaim detect that and
give up in time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r123cac7 r91cec2f  
    127127 *
    128128 */
    129 static GList *twitter_away_states( struct im_connection *ic )
    130 {
    131         static GList *l = NULL;
    132         return l;
    133 }
    134 
    135 static void twitter_set_away( struct im_connection *ic, char *state, char *message )
    136 {
    137 }
    138 
    139129static void twitter_set_my_name( struct im_connection *ic, char *info )
    140130{
     
    211201        ret->logout = twitter_logout;
    212202        ret->buddy_msg = twitter_buddy_msg;
    213         ret->away_states = twitter_away_states;
    214         ret->set_away = twitter_set_away;
    215203        ret->get_info = twitter_get_info;
    216204        ret->set_my_name = twitter_set_my_name;
Note: See TracChangeset for help on using the changeset viewer.