summaryrefslogtreecommitdiff
path: root/gtk/gtk-types.c
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-09-28 23:43:47 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-09-28 23:43:47 +0000
commite0ef227e050134d9b0d9397865dd3c5053ba8d8f (patch)
tree1da46f929fc547582755dfc50cde016f04245299 /gtk/gtk-types.c
parentc6a29df6dd65bbede61d2253637886789bebda51 (diff)
downloadpygtk-e0ef227e050134d9b0d9397865dd3c5053ba8d8f.tar.gz
use pyg_type_from_object instead. Based on patch from Elliot.
2001-09-29 James Henstridge <james@daa.com.au> * gtk/pygtktreemodel.c (pygtk_tree_model_get_column_type): use pyg_type_from_object instead. Based on patch from Elliot. * gtk/gtk.override (_wrap_gtk_selection_data__get_data): convert getter to a function to match codegen changes. * : merge in python22-branch (see changelog entries below).
Diffstat (limited to 'gtk/gtk-types.c')
-rw-r--r--gtk/gtk-types.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtk-types.c b/gtk/gtk-types.c
index ac28b5f5..d82635f3 100644
--- a/gtk/gtk-types.c
+++ b/gtk/gtk-types.c
@@ -3,9 +3,6 @@
#include "pygtk-private.h"
#include <structmember.h>
-/* these aren't ExtensionClass's */
-#undef Py_FindMethod
-
#if 0
PyObject *
PyGtkStyle_New(GtkStyle *obj)
@@ -1451,7 +1448,6 @@ _pygtk_register_boxed_types(PyObject *moddict)
PyDict_SetItemString(moddict, #x "Type", (PyObject *)&Py##x##_Type); \
pyg_register_boxed_custom(tp, Py##x##_from_value, Py##x##_to_value)
- ExtensionClassImported;
#if 0
register_tp(GtkStyle);
PyGtkStyleHelper_Type.ob_type = &PyType_Type;