From af31d7fa66d78f988528b0cb94fc86ef71c63c22 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Sun, 2 Jul 2000 16:35:25 +0000 Subject: use PyGObject rather than PyGtk_Object. 2000-07-03 James Henstridge * codegen/argtypes.py (ObjectArg.write_param): use PyGObject rather than PyGtk_Object. * pygobject.h (pygobject_check): add check function. Just a wrapper around ExtensionClassSubclassInstance. --- gobject/pygobject.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gobject/pygobject.h b/gobject/pygobject.h index fae23a9..820b114 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -16,6 +16,7 @@ typedef struct { } PyGObject; #define pygobject_get(v) (((PyGObject *)v)->obj) +#define pygobject_check(v,base) (ExtensionClassSubclassInstance(v,base)) struct _PyGObject_Functions { void (* register_class)(PyObject *dict, const gchar *class_name, -- cgit