summaryrefslogtreecommitdiff
path: root/pygobject.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-06-25 03:27:27 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-06-25 03:27:27 +0000
commit322d0c69786b16b7148916c73a524e420037da7b (patch)
treea5a4db36c13ccb07cf52391de326c9cdba356f88 /pygobject.h
parent4d34966a127252e4f5665b665776dc8e360e6344 (diff)
downloadpygtk-322d0c69786b16b7148916c73a524e420037da7b.tar.gz
remove dead code for GtkArg handling, etc. (also tidied up references to
2001-06-25 James Henstridge <james@daa.com.au> * gtk/gtkobject-support.c: remove dead code for GtkArg handling, etc. (also tidied up references to it in other files). 2001-06-24 James Henstridge <james@daa.com.au> * gtk/gtk-types.c: removed all traces of GdkFont. * gtk/gdk.defs (Font): add boxed type for font.
Diffstat (limited to 'pygobject.h')
-rw-r--r--pygobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pygobject.h b/pygobject.h
index 10a9bf47..4cccd239 100644
--- a/pygobject.h
+++ b/pygobject.h
@@ -35,6 +35,8 @@ struct _PyGObject_Functions {
void (* register_wrapper)(PyObject *self);
PyExtensionClass *(* lookup_class)(GType type);
PyObject *(* new)(GObject *obj);
+ GClosure *(* closure_new)(PyObject *callback, PyObject *extra_args,
+ PyObject *swap_data);
GType (* type_from_object)(PyObject *obj);
gint (* enum_get_value)(GType enum_type, PyObject *obj, gint *val);
gint (* flags_get_value)(GType flag_type, PyObject *obj, gint *val);
@@ -67,6 +69,7 @@ struct _PyGObject_Functions *_PyGObject_API;
#define pygobject_register_wrapper (_PyGObject_API->register_wrapper)
#define pygobject_lookup_class (_PyGObject_API->lookup_class)
#define pygobject_new (_PyGObject_API->new)
+#define pyg_closure_new (_PyGObject_API->closure_new)
#define pyg_type_from_object (_PyGObject_API->type_from_object)
#define pyg_enum_get_value (_PyGObject_API->enum_get_value)
#define pyg_flags_get_value (_PyGObject_API->flags_get_value)