From 9834a0fb4e4743a71d6b14db14041a837ae7eb82 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 28 May 2005 21:20:27 +0000 Subject: Pass the GIOCondition to PyObject_CallFunction. 2005-05-28 Manish Singh * gobject/pygiochannel.c (pyg_iowatch_marshal): Pass the GIOCondition to PyObject_CallFunction. --- gobject/pygiochannel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gobject') diff --git a/gobject/pygiochannel.c b/gobject/pygiochannel.c index c6e6c52..d161c10 100644 --- a/gobject/pygiochannel.c +++ b/gobject/pygiochannel.c @@ -443,9 +443,10 @@ pyg_iowatch_marshal(GIOChannel *source, pyg_block_threads(); if (data->user_data) ret = PyObject_CallFunction(data->callback, "OiO", data->iochannel, - data->user_data); + condition, data->user_data); else - ret = PyObject_CallFunction(data->callback, "Oi", data->iochannel); + ret = PyObject_CallFunction(data->callback, "Oi", data->iochannel, + condition); if (!ret) { PyErr_Print(); -- cgit