summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/glibext/module.c')
-rw-r--r--plugins/pychrysalide/glibext/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/glibext/module.c b/plugins/pychrysalide/glibext/module.c
index 23e7a7d..e62d587 100644
--- a/plugins/pychrysalide/glibext/module.c
+++ b/plugins/pychrysalide/glibext/module.c
@@ -30,7 +30,6 @@
/*
#include "binarycursor.h"
-#include "binportion.h"
#include "buffercache.h"
#include "bufferline.h"
#include "bufferview.h"
@@ -42,6 +41,7 @@
#include "named.h"
#include "singleton.h"
*/
+#include "portion.h"
#include "work.h"
#include "workqueue.h"
#include "../helpers.h"
@@ -110,6 +110,7 @@ bool populate_glibext_module(void)
result = true;
+ if (result) result = ensure_python_binary_portion_is_registered();
if (result) result = ensure_python_generic_work_is_registered();
if (result) result = ensure_python_work_queue_is_registered();
@@ -117,7 +118,6 @@ bool populate_glibext_module(void)
if (result) result = ensure_python_singleton_candidate_is_registered();
if (result) result = ensure_python_binary_cursor_is_registered();
- if (result) result = ensure_python_binary_portion_is_registered();
if (result) result = ensure_python_buffer_cache_is_registered();
if (result) result = ensure_python_buffer_line_is_registered();
#ifdef INCLUDE_GTK_SUPPORT