summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext/constants.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-11-23 15:59:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-11-23 15:59:19 (GMT)
commit411f03130cf45194689bc344f19a3b77c33a31ae (patch)
treef047b62015eb37e30629398f9adcb977a5a6c6f6 /plugins/pychrysalide/glibext/constants.c
parent80d779749adf228078b61f268bf952ba91a277f0 (diff)
Restore more features for formats.
Diffstat (limited to 'plugins/pychrysalide/glibext/constants.c')
-rw-r--r--plugins/pychrysalide/glibext/constants.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/pychrysalide/glibext/constants.c b/plugins/pychrysalide/glibext/constants.c
index 169ffa2..90ce8cd 100644
--- a/plugins/pychrysalide/glibext/constants.c
+++ b/plugins/pychrysalide/glibext/constants.c
@@ -25,16 +25,18 @@
#include "constants.h"
+#include <glibext/portion.h>
+
+/*
#include <i18n.h>
#include <glibext/bufferline.h>
#include <glibext/comparison.h>
#include <glibext/configuration.h>
#include <glibext/linesegment.h>
-#include <glibext/gbinportion.h>
#ifdef INCLUDE_GTK_SUPPORT
# include <glibext/gloadedpanel.h>
#endif
-
+*/
#include "../helpers.h"
@@ -58,6 +60,7 @@ bool define_binary_portion_constants(PyTypeObject *type)
PyObject *strdict; /* Groupe de chaînes constantes*/
PyObject *values; /* Groupe de valeurs à établir */
+ /*
result = create_string_constants_group_to_type(type, "BinaryPortionCode",
"Selector names for the CSS rendering.", &strdict);
@@ -69,6 +72,7 @@ bool define_binary_portion_constants(PyTypeObject *type)
if (!result)
goto exit;
+ */
values = PyDict_New();
@@ -150,6 +154,7 @@ int convert_to_portion_access_rights(PyObject *arg, void *dst)
}
+#if 0
/******************************************************************************
* *
* Paramètres : type = type dont le dictionnaire est à compléter. *
@@ -617,3 +622,4 @@ int convert_to_scroll_position_tweak(PyObject *arg, void *dst)
#endif
+#endif