Mercurial > pidgin
comparison src/gtkeventloop.c @ 11065:8e97c8befc0b
[gaim-migrate @ 13046]
keeping up with the joneses. I mean oldstatus
committer: Tailor Script <tailor@pidgin.im>
author | Christopher O'Brien <siege@pidgin.im> |
---|---|
date | Thu, 07 Jul 2005 15:40:35 +0000 |
parents | 482fc53c969d |
children |
comparison
equal
deleted
inserted
replaced
11064:e4459e8ccfb5 | 11065:8e97c8befc0b |
---|---|
56 gaim_debug(GAIM_DEBUG_MISC, "gtk_eventloop", | 56 gaim_debug(GAIM_DEBUG_MISC, "gtk_eventloop", |
57 "CLOSURE: callback for %d, fd is %d\n", | 57 "CLOSURE: callback for %d, fd is %d\n", |
58 closure->result, g_io_channel_unix_get_fd(source)); | 58 closure->result, g_io_channel_unix_get_fd(source)); |
59 #endif | 59 #endif |
60 | 60 |
61 closure->function(closure->data, g_io_channel_unix_get_fd(source), gaim_cond); | 61 #ifdef _WIN32 |
62 if(! gaim_cond) { | |
63 #if DEBUG | |
64 gaim_debug(GAIM_DEBUG_MISC, "gtk_eventloop", | |
65 "CLOSURE received GIOCondition of 0x%x, which does not" | |
66 " match 0x%x (READ) or 0x%x (WRITE)\n", | |
67 condition, GAIM_GTK_READ_COND, GAIM_GTK_WRITE_COND); | |
68 #endif /* DEBUG */ | |
69 | |
70 return TRUE; | |
71 } | |
72 #endif /* _WIN32 */ | |
73 | |
74 closure->function(closure->data, g_io_channel_unix_get_fd(source), | |
75 gaim_cond); | |
62 | 76 |
63 return TRUE; | 77 return TRUE; |
64 } | 78 } |
65 | 79 |
66 static guint gaim_gtk_input_add(gint fd, GaimInputCondition condition, GaimInputFunction function, | 80 static guint gaim_gtk_input_add(gint fd, GaimInputCondition condition, GaimInputFunction function, |