[gjs: 1/3] object: Fix build with --enable-dtrace
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/3] object: Fix build with --enable-dtrace
- Date: Fri, 9 Nov 2018 04:54:56 +0000 (UTC)
commit 10433c2eacd9b333b83e3e8514485e5d51699385
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Oct 6 15:56:50 2018 -0700
object: Fix build with --enable-dtrace
We don't build with this option very often, so this has been broken for a
while.
Closes: #196
gi/object.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/object.cpp b/gi/object.cpp
index d98419c5..e6687caa 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -1733,7 +1733,7 @@ void ObjectBase::finalize(JSFreeOp* fop, JSObject* obj) {
ObjectInstance::~ObjectInstance() {
debug_lifecycle("Finalize");
- TRACE(GJS_OBJECT_PROXY_FINALIZE(priv, m_gobj, ns(), name()));
+ TRACE(GJS_OBJECT_PROXY_FINALIZE(this, m_gobj, ns(), name()));
invalidate_all_closures();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]