[gjs/gnome-3-36] fundamental: Fix FundamentalPrototype counter
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/gnome-3-36] fundamental: Fix FundamentalPrototype counter
- Date: Sun, 31 May 2020 17:59:03 +0000 (UTC)
commit 6546d1cbb762d827822664e6415233ff7552eb0f
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 d667d938..66c27e60 100644
--- a/gi/fundamental.cpp
+++ b/gi/fundamental.cpp
@@ -262,6 +262,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);
}
// Overrides GIWrapperPrototype::init().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]