[gtk+/wip/otte/shader] xxx: scope



commit 9b2316203d0b01cc489ff3594f7597f842ee4ba0
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 18 22:34:20 2017 +0200

    xxx: scope

 gsk/gskslscope.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskslscope.c b/gsk/gskslscope.c
index d28d477..a6e6ba2 100644
--- a/gsk/gskslscope.c
+++ b/gsk/gskslscope.c
@@ -39,6 +39,7 @@ gsk_sl_scope_new (GskSlScope *parent)
   GskSlScope *scope;
   
   scope = g_slice_new0 (GskSlScope);
+  scope->ref_count = 1;
 
   if (parent)
     scope->parent = gsk_sl_scope_ref (parent);


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