[gimp/metadata-browser] Bug 664316 - Searchpath separator required
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] Bug 664316 - Searchpath separator required
- Date: Wed, 12 Sep 2012 22:14:50 +0000 (UTC)
commit 49b33e6b49c2da3beb0cf2f3c836f7b0b3400660
Author: Michael Natterer <mitch gimp org>
Date: Fri Nov 18 09:39:03 2011 +0100
Bug 664316 - Searchpath separator required
Add constant SEARCHPATH-SEPARATOR (= G_SEARCHPATH_SEPARATOR_S).
plug-ins/script-fu/scheme-wrapper.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/script-fu/scheme-wrapper.c b/plug-ins/script-fu/scheme-wrapper.c
index e6e64b4..c56bfff 100644
--- a/plug-ins/script-fu/scheme-wrapper.c
+++ b/plug-ins/script-fu/scheme-wrapper.c
@@ -429,6 +429,12 @@ ts_init_constants (scheme *sc)
sc->vptr->mk_string (sc, G_DIR_SEPARATOR_S));
sc->vptr->setimmutable (symbol);
+ /* Define string constant for use in building search paths */
+ symbol = sc->vptr->mk_symbol (sc, "SEARCHPATH-SEPARATOR");
+ sc->vptr->scheme_define (sc, sc->global_env, symbol,
+ sc->vptr->mk_string (sc, G_SEARCHPATH_SEPARATOR_S));
+ sc->vptr->setimmutable (symbol);
+
/* These constants are deprecated and will be removed at a later date. */
symbol = sc->vptr->mk_symbol (sc, "gimp-dir");
sc->vptr->scheme_define (sc, sc->global_env, symbol,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]