summaryrefslogtreecommitdiff
path: root/gtk/gtk-types.c
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-05-29 10:40:08 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-05-29 10:40:08 +0000
commit2dfc134d2a28b542a6157f36144569706bd38df8 (patch)
treedf51a5920156e963d6d20f96362a6e3c21dccd21 /gtk/gtk-types.c
parent4a55f849dd5f72163be3e30f5ff6df3bba95c185 (diff)
downloadpygtk-2dfc134d2a28b542a6157f36144569706bd38df8.tar.gz
install the code generator
2001-05-29 James Henstridge <james@daa.com.au> * codegen/Makefile.am: install the code generator * gtk/Makefile.am: install the pygtk.h header * Makefile.am: install the pygobject.h header * gtk/gdk.defs, gtk/gtk.defs, gtk/gtk-types.c: changes to make things compile.
Diffstat (limited to 'gtk/gtk-types.c')
-rw-r--r--gtk/gtk-types.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtk-types.c b/gtk/gtk-types.c
index 8a4985d4..36d564cf 100644
--- a/gtk/gtk-types.c
+++ b/gtk/gtk-types.c
@@ -3189,11 +3189,11 @@ pygtk_text_iter_is_end(PyGtkTextIter_Object *self, PyObject *args)
}
static PyObject *
-pygtk_text_iter_is_first(PyGtkTextIter_Object *self, PyObject *args)
+pygtk_text_iter_is_start(PyGtkTextIter_Object *self, PyObject *args)
{
- if (!PyArg_ParseTuple(args, ":GtkTextIter.is_first"))
+ if (!PyArg_ParseTuple(args, ":GtkTextIter.is_start"))
return NULL;
- return PyInt_FromLong(gtk_text_iter_is_first(&self->iter));
+ return PyInt_FromLong(gtk_text_iter_is_start(&self->iter));
}
static PyObject *
@@ -3487,7 +3487,7 @@ static PyMethodDef pygtk_text_iter_methods[] = {
{ "ends_line", (PyCFunction)pygtk_text_iter_ends_line, METH_VARARGS },
{ "get_chars_in_line", (PyCFunction)pygtk_text_iter_get_chars_in_line, METH_VARARGS },
{ "is_end", (PyCFunction)pygtk_text_iter_is_end, METH_VARARGS },
- { "is_first", (PyCFunction)pygtk_text_iter_is_first, METH_VARARGS },
+ { "is_start", (PyCFunction)pygtk_text_iter_is_start, METH_VARARGS },
{ "forward_char", (PyCFunction)pygtk_text_iter_forward_char, METH_VARARGS },
{ "backward_char", (PyCFunction)pygtk_text_iter_backward_char, METH_VARARGS },
{ "forward_chars", (PyCFunction)pygtk_text_iter_forward_chars, METH_VARARGS },