diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2022-05-27 16:35:26 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2022-05-27 16:35:26 (GMT) |
commit | 5c72f41a11b52d5840cab461d2e73e150d829e94 (patch) | |
tree | 8c7694c7f74a5f75ccf1d3d3b4be4f41fd49ea4b /plugins/pychrysalide/core.c | |
parent | 89f802045b71299ba70a8df17ca09d5fcc37cf99 (diff) |
Keep only one definition of _PyGObject_API.
Diffstat (limited to 'plugins/pychrysalide/core.c')
-rw-r--r-- | plugins/pychrysalide/core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/pychrysalide/core.c b/plugins/pychrysalide/core.c index 401aa33..89c4da4 100644 --- a/plugins/pychrysalide/core.c +++ b/plugins/pychrysalide/core.c @@ -21,9 +21,13 @@ */ -#include "core.h" +#undef NO_IMPORT_PYGOBJECT +#include <pygobject.h> +#define NO_IMPORT_PYGOBJECT +#include "core.h" + #include <assert.h> #include <errno.h> |