diff options
author | Matt Wilson <msw@redhat.com> | 1999-12-18 20:39:24 +0000 |
---|---|---|
committer | Matt Wilson <msw@src.gnome.org> | 1999-12-18 20:39:24 +0000 |
commit | 089312998a06c0e634bc178342625f19e7fc2182 (patch) | |
tree | 105756cbba9e7e8f5ececbff1718ed09a67fd8f6 | |
parent | ab42860b3aae163fe794ce7a1979e3f3b12e32e2 (diff) | |
download | pygtk-089312998a06c0e634bc178342625f19e7fc2182.tar.gz |
removed function
1999-12-18 Matt Wilson <msw@redhat.com>
* gtkmodule.c (_wrap_gtk_clist_get_rows): removed function
* generate/gtklists.defs (GtkCList): add field for rows
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generate/gtklists.defs | 3 | ||||
-rw-r--r-- | gtkmodule.c | 10 |
3 files changed, 8 insertions, 11 deletions
@@ -1,3 +1,9 @@ +1999-12-18 Matt Wilson <msw@redhat.com> + + * gtkmodule.c (_wrap_gtk_clist_get_rows): removed function + + * generate/gtklists.defs (GtkCList): add field for rows + 1999-12-16 Matt Wilson <msw@redhat.com> * gtk.py (GtkCList.__getattr__): oops - left out the _gtk. part diff --git a/generate/gtklists.defs b/generate/gtklists.defs index 4e1926ec..46d2089d 100644 --- a/generate/gtklists.defs +++ b/generate/gtklists.defs @@ -112,7 +112,8 @@ (define-object GtkCList (GtkContainer) (fields - (int focus_row))) + (int focus_row) + (int rows))) (define-func gtk_clist_new GtkWidget diff --git a/gtkmodule.c b/gtkmodule.c index c5ced9a8..a0d63500 100644 --- a/gtkmodule.c +++ b/gtkmodule.c @@ -4131,15 +4131,6 @@ static PyObject *_wrap_gtk_clist_get_selection(PyObject *self, PyObject *args) { return ret; } -static PyObject *_wrap_gtk_clist_get_rows(PyObject *self, PyObject *args) { - PyObject *clist; - - if (!PyArg_ParseTuple(args, "O!:gtk_clist_get_rows", &PyGtk_Type, - &clist)) - return NULL; - return PyInt_FromLong(GTK_CLIST(PyGtk_Get(clist))->rows); -} - static PyObject *_wrap_gtk_clist_new_with_titles(PyObject *self, PyObject *args) { int c, i; PyObject *l, *item; @@ -6123,7 +6114,6 @@ static PyMethodDef _gtkmoduleMethods[] = { { "gtk_clist_find_row_from_data", _wrap_gtk_clist_find_row_from_data, 1 }, { "gtk_clist_get_selection_info", _wrap_gtk_clist_get_selection_info, 1 }, { "gtk_clist_get_column_width", _wrap_gtk_clist_get_column_width, 1 }, - { "gtk_clist_get_rows", _wrap_gtk_clist_get_rows, 1 }, { "gtk_combo_set_popdown_strings", _wrap_gtk_combo_set_popdown_strings,1 }, { "gtk_curve_get_vector", _wrap_gtk_curve_get_vector, 1 }, { "gtk_curve_set_vector", _wrap_gtk_curve_set_vector, 1 }, |