[gtk+/wip/otte/shader] xxx: split expression



commit 44a0155844c380aa0b8eec7e98cef85abb95665a
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 25 22:56:22 2017 +0200

    xxx: split expression

 gsk/gskslexpression.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskslexpression.c b/gsk/gskslexpression.c
index 4bc2bd1..0b0fffb 100644
--- a/gsk/gskslexpression.c
+++ b/gsk/gskslexpression.c
@@ -935,7 +935,7 @@ gsk_sl_expression_parse_primary (GskSlScope        *scope,
           }
 
         reference = gsk_sl_expression_new (GskSlExpressionReference, &GSK_SL_EXPRESSION_REFERENCE);
-        reference->variable = variable;
+        reference->variable = gsk_sl_variable_ref (variable);
         gsk_sl_preprocessor_consume (stream, (GskSlExpression *) reference);
         return (GskSlExpression *) reference;
       }


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