[gjs] Remove obsolete TRACE_MARK API
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Remove obsolete TRACE_MARK API
- Date: Wed, 2 Jan 2013 17:22:11 +0000 (UTC)
commit 340edc8d17ebdd7f1cf4cf5eb149d815fbe10b71
Author: Tim Lunn <tim feathertop org>
Date: Wed Dec 12 06:55:15 2012 +1100
Remove obsolete TRACE_MARK API
https://bugzilla.gnome.org/show_bug.cgi?id=678410
gi/keep-alive.c | 3 +--
gi/object.c | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gi/keep-alive.c b/gi/keep-alive.c
index 704c47d..c6b9cc9 100644
--- a/gi/keep-alive.c
+++ b/gi/keep-alive.c
@@ -150,7 +150,6 @@ keep_alive_trace(JSTracer *tracer,
*/
static struct JSClass gjs_keep_alive_class = {
"__private_GjsKeepAlive", /* means "new __private_GjsKeepAlive()" works */
- JSCLASS_MARK_IS_TRACE | /* TraceOp not MarkOp */
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
JS_PropertyStub,
@@ -166,7 +165,7 @@ static struct JSClass gjs_keep_alive_class = {
NULL,
NULL,
NULL,
- JS_CLASS_TRACE(keep_alive_trace),
+ keep_alive_trace,
NULL
};
diff --git a/gi/object.c b/gi/object.c
index aa97c10..013dc8e 100644
--- a/gi/object.c
+++ b/gi/object.c
@@ -1440,8 +1440,7 @@ static struct JSClass gjs_object_instance_class = {
"GObject_Object",
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START |
- JSCLASS_MARK_IS_TRACE,
+ JSCLASS_NEW_RESOLVE_GETS_START,
JS_PropertyStub,
JS_PropertyStub,
object_instance_get_prop,
@@ -1456,7 +1455,7 @@ static struct JSClass gjs_object_instance_class = {
NULL,
NULL,
NULL,
- JS_CLASS_TRACE(object_instance_trace),
+ object_instance_trace,
NULL,
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]