[gjs/gnome-3-30] object: Fix build with --enable-dtrace
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/gnome-3-30] object: Fix build with --enable-dtrace
- Date: Mon, 12 Nov 2018 17:22:10 +0000 (UTC)
commit c5698eab201d6504f239d3a87747b5020aaeda80
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 242abfae..855671cf 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -1618,7 +1618,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]