From 29637ceae35271c44a44a671b86caa149ef1880e Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Fri, 2 Mar 2012 20:11:55 -0500 Subject: Patch to build against 0.8.15 For more information, refer to: http://sector-5.net/archives/irssi-python-for-irssi-0-8-15/ --- src/objects/notifylist-object.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/objects/notifylist-object.c') diff --git a/src/objects/notifylist-object.c b/src/objects/notifylist-object.c index 3fc464d..50804f7 100644 --- a/src/objects/notifylist-object.c +++ b/src/objects/notifylist-object.c @@ -77,23 +77,12 @@ static PyObject *PyNotifylist_away_check_get(PyNotifylist *self, void *closure) return PyBool_FromLong(NOTIFYLIST(self->data)->away_check); } -PyDoc_STRVAR(PyNotifylist_idle_check_time_doc, - "Notify when idle time is reset and idle was bigger than this (seconds)" -); -static PyObject *PyNotifylist_idle_check_time_get(PyNotifylist *self, void *closure) -{ - RET_NULL_IF_INVALID(self->data); - return PyLong_FromUnsignedLong(NOTIFYLIST(self->data)->idle_check_time); -} - /* specialized getters/setters */ static PyGetSetDef PyNotifylist_getseters[] = { {"mask", (getter)PyNotifylist_mask_get, NULL, PyNotifylist_mask_doc, NULL}, {"away_check", (getter)PyNotifylist_away_check_get, NULL, PyNotifylist_away_check_doc, NULL}, - {"idle_check_time", (getter)PyNotifylist_idle_check_time_get, NULL, - PyNotifylist_idle_check_time_doc, NULL}, {NULL} }; -- cgit