[gjs/april-maintenance: 4/14] fundamental: Fix FundamentalPrototype counter



commit f018509cf05dd50d0e7fe32bf941fd511abdee8e
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Apr 30 21:53:33 2020 -0700

    fundamental: Fix FundamentalPrototype counter
    
    Oops, this counter was never incremented.

 gi/fundamental.cpp | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gi/fundamental.cpp b/gi/fundamental.cpp
index 2d3ef787..cadc20a2 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -238,6 +238,7 @@ FundamentalPrototype::FundamentalPrototype(GIObjectInfo* info, GType gtype)
     g_assert(m_unref_function);
     g_assert(m_set_value_function);
     g_assert(m_get_value_function);
+    GJS_INC_COUNTER(fundamental_prototype);
 }
 
 FundamentalPrototype::~FundamentalPrototype(void) {


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