[gegl] core: use g_getenv where getenv mistakenly is used



commit 9347bcc70539efe733308c0fb42e729305050430
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Nov 20 16:56:23 2016 +0100

    core: use g_getenv where getenv mistakenly is used

 gegl/operation/gegl-operation-context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-context.c b/gegl/operation/gegl-operation-context.c
index ddf4bea..032a55f 100644
--- a/gegl/operation/gegl-operation-context.c
+++ b/gegl/operation/gegl-operation-context.c
@@ -301,7 +301,7 @@ gegl_operation_context_get_target (GeglOperationContext *context,
 #endif
 
   if (linear_buffers == -1)
-    linear_buffers = getenv ("GEGL_LINEAR_BUFFERS")?1:0;
+    linear_buffers = g_getenv ("GEGL_LINEAR_BUFFERS")?1:0;
 
   operation = context->operation;
   node = operation->node; /* <ick */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]