summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/arch/context.c')
-rw-r--r--plugins/pychrysalide/arch/context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysalide/arch/context.c b/plugins/pychrysalide/arch/context.c
index 4428075..f7c6549 100644
--- a/plugins/pychrysalide/arch/context.c
+++ b/plugins/pychrysalide/arch/context.c
@@ -32,6 +32,7 @@
#include <arch/context.h>
+#include "constants.h"
#include "../access.h"
#include "../helpers.h"
@@ -111,6 +112,9 @@ bool ensure_python_proc_context_is_registered(void)
if (!register_class_for_pygobject(dict, G_TYPE_PROC_CONTEXT, type, &PyGObject_Type))
return false;
+ if (!define_proc_context_constants(type))
+ return false;
+
}
return true;