aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/events_glib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/events_glib.c b/lib/events_glib.c
index 3fafc872..8f53fbbf 100644
--- a/lib/events_glib.c
+++ b/lib/events_glib.c
@@ -74,6 +74,9 @@ static gboolean gaim_io_invoke(GIOChannel *source, GIOCondition condition, gpoin
GaimIOClosure *closure = data;
b_input_condition gaim_cond = 0;
gboolean st;
+
+ if (condition & G_IO_NVAL)
+ return FALSE;
if (condition & GAIM_READ_COND)
gaim_cond |= B_EV_IO_READ;