summaryrefslogtreecommitdiff
path: root/gobject/pygobject-private.h
diff options
context:
space:
mode:
authorJohan Dahlin <zilch@src.gnome.org>2003-01-21 02:53:58 +0000
committerJohan Dahlin <zilch@src.gnome.org>2003-01-21 02:53:58 +0000
commit7b73aff9be3bf7462b09f79908db23c6d5b71267 (patch)
tree8d2e2b950138c2601360c13b7870a80fcace7a9a /gobject/pygobject-private.h
parent29b58e79cb8252536cb0b22855ab2f1c9de73e87 (diff)
downloadpygtk-7b73aff9be3bf7462b09f79908db23c6d5b71267.tar.gz
Add GMainContext bindings and complete the GMainLoop bindings. Fixes
* gobjectmodule.c: Add GMainContext bindings and complete the GMainLoop bindings. Fixes #102362.
Diffstat (limited to 'gobject/pygobject-private.h')
-rw-r--r--gobject/pygobject-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h
index dc19ee8f..682f0219 100644
--- a/gobject/pygobject-private.h
+++ b/gobject/pygobject-private.h
@@ -40,6 +40,12 @@ typedef struct {
} PyGMainLoop;
extern PyTypeObject PyGMainLoop_Type;
+typedef struct {
+ PyObject_HEAD
+ GMainContext *context;
+} PyGMainContext;
+extern PyTypeObject PyGMainContext_Type;
+
/* from pygtype.h */
extern PyTypeObject PyGTypeWrapper_Type;