diff options
| -rw-r--r-- | gobject/pygobject-private.h | 8 | ||||
| -rw-r--r-- | gobject/pygobject.h | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h index 770e692..e74ec0a 100644 --- a/gobject/pygobject-private.h +++ b/gobject/pygobject-private.h @@ -65,14 +65,6 @@ PyObject *pyg_param_gvalue_as_pyobject(const GValue* gvalue, gboolean copy_boxed, const GParamSpec* pspec); -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 */ -}; - GClosure *pyg_closure_new(PyObject *callback, PyObject *extra_args, PyObject *swap_data); GClosure *pyg_signal_class_closure_get(void); 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; |
