summaryrefslogtreecommitdiff
path: root/gi/_glib/pygiochannel.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:38:27 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:38:29 +0900
commit06b7709867b9e43162fa6c6fd6a10063762b875a (patch)
treefce18c2217b882849391ca2b38abdefe3843ec81 /gi/_glib/pygiochannel.c
parentd54598b29c5a784bd64ae3fc9b96c97e5e150d5e (diff)
downloadpygobject2-06b7709867b9e43162fa6c6fd6a10063762b875a.tar.gz
pygobject2-06b7709867b9e43162fa6c6fd6a10063762b875a.tar.bz2
pygobject2-06b7709867b9e43162fa6c6fd6a10063762b875a.zip
Imported Upstream version 3.1.0
Change-Id: I7ba3a430bce4104bf4e8ff695f0582bdc450560a Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gi/_glib/pygiochannel.c')
-rw-r--r--gi/_glib/pygiochannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/_glib/pygiochannel.c b/gi/_glib/pygiochannel.c
index 4f77e28..3921cac 100644
--- a/gi/_glib/pygiochannel.c
+++ b/gi/_glib/pygiochannel.c
@@ -477,7 +477,7 @@ py_io_channel_add_watch(PyObject *self, PyObject *args, PyObject *kwargs)
data->user_data = user_data; Py_XINCREF(user_data);
data->iochannel = self; Py_INCREF(self);
- handler_id = g_io_add_watch_full(((PyGIOChannel *) self)->channel,
+ handler_id = g_io_add_watch_full(iochannel,
priority, condition,
pyg_iowatch_marshal, data,
(GDestroyNotify) pyg_iowatch_data_free);