diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | gobject/gobjectmodule.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2008-07-09 Juha Sahakangas <voas0113@saunalahti.fi> + + * gobject/gobjectmodule.c (pyg_io_add_watch): Fix error message + referencing wrong argument. + 2008-06-29 Gustavo J. A. M. Carneiro <gjc@gnome.org> * gobject/gobjectmodule.c (pyg_markup_escape_text): text_size diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c index ed4d94e..3bd5645 100644 --- a/gobject/gobjectmodule.c +++ b/gobject/gobjectmodule.c @@ -2153,7 +2153,7 @@ pyg_io_add_watch(PyObject *self, PyObject *args, PyObject *kwargs) return NULL; } if (!PyCallable_Check(callback)) { - PyErr_SetString(PyExc_TypeError, "second argument not callable"); + PyErr_SetString(PyExc_TypeError, "third argument not callable"); return NULL; } if (get_handler_priority(&priority, kwargs) < 0) |
