summaryrefslogtreecommitdiff
path: root/gi/pygi-signal-closure.h
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pygi-signal-closure.h')
-rw-r--r--gi/pygi-signal-closure.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/gi/pygi-signal-closure.h b/gi/pygi-signal-closure.h
index ffdd29c..9ba8d6d 100644
--- a/gi/pygi-signal-closure.h
+++ b/gi/pygi-signal-closure.h
@@ -24,7 +24,9 @@
#ifndef __PYGI_SIGNAL_CLOSURE_H__
#define __PYGI_SIGNAL_CLOSURE_H__
-#include "pygi.h"
+#include <Python.h>
+#include <girepository.h>
+#include "pygobject-internal.h"
G_BEGIN_DECLS
@@ -35,12 +37,13 @@ typedef struct _PyGISignalClosure
GISignalInfo *signal_info;
} PyGISignalClosure;
-GClosure * pygi_signal_closure_new_real (PyGObject *instance,
- GType g_type,
- const gchar *sig_name,
- PyObject *callback,
- PyObject *extra_args,
- PyObject *swap_data);
+GClosure *
+pygi_signal_closure_new (PyGObject *instance,
+ GType g_type,
+ const gchar *sig_name,
+ PyObject *callback,
+ PyObject *extra_args,
+ PyObject *swap_data);
G_END_DECLS