diff options
| author | Gustavo J. A. M. Carneiro <gcarneiro@src.gnome.org> | 2004-09-26 14:03:37 +0000 |
|---|---|---|
| committer | Gustavo J. A. M. Carneiro <gcarneiro@src.gnome.org> | 2004-09-26 14:03:37 +0000 |
| commit | aa2fc4070b361e679a219e3c1e9dc75dd3acfb9d (patch) | |
| tree | b157cba67d0aef6ac7c347a0b82fb70155603e7b /gobject/pygobject.h | |
| parent | 98e8f5d07b21abe3b89667124858db5bc607e7c9 (diff) | |
| download | pygobject-aa2fc4070b361e679a219e3c1e9dc75dd3acfb9d.tar.gz pygobject-aa2fc4070b361e679a219e3c1e9dc75dd3acfb9d.tar.xz pygobject-aa2fc4070b361e679a219e3c1e9dc75dd3acfb9d.zip | |
Make PyGClosure semi-public
Diffstat (limited to 'gobject/pygobject.h')
| -rw-r--r-- | gobject/pygobject.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h index 90d5250..14a83c2 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -7,6 +7,15 @@ #include <glib.h> #include <glib-object.h> + /* PyGClosure is a _private_ structure */ +typedef struct _PyGClosure PyGClosure; +struct _PyGClosure { + GClosure closure; + PyObject *callback; + PyObject *extra_args; /* tuple of extra args to pass to callback */ + PyObject *swap_data; /* other object for gtk_signal_connect_object */ +}; + typedef struct { PyObject_HEAD GObject *obj; |
