diff options
author | Manish Singh <yosh@gimp.org> | 2005-05-28 21:20:27 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2005-05-28 21:20:27 +0000 |
commit | 9834a0fb4e4743a71d6b14db14041a837ae7eb82 (patch) | |
tree | 19d986d82ea65f3045cf9f7d1b42d0dc2f399a66 /gobject | |
parent | 0edb741ce61110b92708fc644cac3cfb4bf02b82 (diff) | |
download | pygobject-9834a0fb4e4743a71d6b14db14041a837ae7eb82.tar.gz pygobject-9834a0fb4e4743a71d6b14db14041a837ae7eb82.tar.xz pygobject-9834a0fb4e4743a71d6b14db14041a837ae7eb82.zip |
Pass the GIOCondition to PyObject_CallFunction.
2005-05-28 Manish Singh <yosh@gimp.org>
* gobject/pygiochannel.c (pyg_iowatch_marshal): Pass the GIOCondition
to PyObject_CallFunction.
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/pygiochannel.c | 5 |
1 files changed, 3 insertions, 2 deletions
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(); |