summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/glibext/configuration.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/glibext/configuration.c')
-rw-r--r--plugins/pychrysa/glibext/configuration.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/pychrysa/glibext/configuration.c b/plugins/pychrysa/glibext/configuration.c
index 3ced957..a780f73 100644
--- a/plugins/pychrysa/glibext/configuration.c
+++ b/plugins/pychrysa/glibext/configuration.c
@@ -142,7 +142,7 @@ static PyObject *py_generic_config_get_filename(PyObject *, void *);
static PyObject *py_config_param_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
PyObject *result; /* Instance à retourner */
- char *path; /* Accès au paramètre */
+ const char *path; /* Accès au paramètre */
unsigned int ptype; /* Type de paramètre */
PyObject *value; /* Valeur par défaut éventuelle*/
int ret; /* Bilan de lecture des args. */
@@ -814,7 +814,7 @@ bool register_python_config_param_iterator(PyObject *module)
static PyObject *py_generic_config_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
PyObject *result; /* Instance à retourner */
- char *name; /* Nom du fichier à charger */
+ const char *name; /* Nom du fichier à charger */
int ret; /* Bilan de lecture des args. */
GGenConfig *config; /* Version GLib du format */
@@ -910,7 +910,7 @@ static PyObject *py_generic_config_search(PyObject *self, PyObject *args)
{
PyObject *result; /* Instance à retourner */
GGenConfig *config; /* Version GLib du format */
- char *path; /* Chemin d'accès du paramètre */
+ const char *path; /* Chemin d'accès du paramètre */
int ret; /* Bilan de lecture des args. */
GCfgParam *param; /* Paramètre trouvé ou NULL */
@@ -989,7 +989,7 @@ static PyObject *py_generic_config_add(PyObject *self, PyObject *args)
static PyObject *py_generic_config_delete(PyObject *self, PyObject *args)
{
GGenConfig *config; /* Version GLib du format */
- char *path; /* Chemin d'accès du paramètre */
+ const char *path; /* Chemin d'accès du paramètre */
int ret; /* Bilan de lecture des args. */
config = G_GEN_CONFIG(pygobject_get(self));