diff options
author | Johan Dahlin <zilch@src.gnome.org> | 2003-01-01 22:49:10 +0000 |
---|---|---|
committer | Johan Dahlin <zilch@src.gnome.org> | 2003-01-01 22:49:10 +0000 |
commit | 285088a9d4a33c02560f9dcfa1e62258e8d77bc4 (patch) | |
tree | 10292e087f2286cf72095386992f476466509ec5 /gtk | |
parent | 6459f886340bfbd18f56e08e6c982a2ceeb8ba81 (diff) | |
download | pygtk-285088a9d4a33c02560f9dcfa1e62258e8d77bc4.tar.gz |
(_wrap_gtk_text_buffer_get_selection_bounds): Remove unused
keyword argument and not up-to-date comment.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtk.override | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtk.override b/gtk/gtk.override index 4ce5e67a..f006b2ac 100644 --- a/gtk/gtk.override +++ b/gtk/gtk.override @@ -6144,15 +6144,14 @@ static PyObject * _wrap_gtk_text_buffer_set_text(PyGObject *self, PyObject *args, PyObject *kwargs) { char *text; - static char *kwlist[] = { "text", "len", NULL }; + static char *kwlist[] = { "text", NULL }; int len; - /* tricky, allows user to override calculated text length. */ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s#:GtkTextBuffer.set_text", kwlist, - &text, &len)) + &text, &len)) { return NULL; - + } gtk_text_buffer_set_text(GTK_TEXT_BUFFER(self->obj), text, len); Py_INCREF(Py_None); return Py_None; |