Ignore:
Timestamp:
2009-10-10T23:57:26Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4164e62
Parents:
e046390
Message:

Hacked up a B_EV_FLAG_FORCE_REPEAT event handler flag to make libpurple
happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/events_libevent.c

    re046390 rc5c18c1  
    6060        b_event_handler function;
    6161        void *data;
     62        guint flags;
    6263};
    6364
     
    150151                return;
    151152        }
    152         else if( !st )
     153        else if( !st && !( b_ev->flags & B_EV_FLAG_FORCE_REPEAT ) )
    153154        {
    154155                event_debug( "Handler returned FALSE: " );
     
    212213        }
    213214       
     215        b_ev->flags = condition;
    214216        g_hash_table_insert( id_hash, &b_ev->id, b_ev );
    215217        return b_ev->id;
Note: See TracChangeset for help on using the changeset viewer.