[gjs] remove unused and obsolete flag.
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] remove unused and obsolete flag.
- Date: Tue, 8 Jan 2013 18:16:48 +0000 (UTC)
commit 947e260a0f6a60cad10811eddeddaa0f3ca22450
Author: Tim Lunn <tim feathertop org>
Date: Fri Jan 4 08:01:21 2013 +1100
remove unused and obsolete flag.
JSCLASS_NEW_RESOLVE_GETS_START has been removed in esr17,
additionally gjs does not use the start value.
https://bugzilla.gnome.org/show_bug.cgi?id=690982
gi/boxed.c | 1 -
gi/gerror.c | 3 +--
gi/interface.c | 3 +--
gi/ns.c | 3 +--
gi/object.c | 1 -
gi/repo.c | 3 +--
gi/union.c | 3 +--
gjs/importer.c | 1 -
gjs/jsapi-util.h | 3 +--
9 files changed, 6 insertions(+), 15 deletions(-)
---
diff --git a/gi/boxed.c b/gi/boxed.c
index ce935fc..f46cec5 100644
--- a/gi/boxed.c
+++ b/gi/boxed.c
@@ -930,7 +930,6 @@ static struct JSClass gjs_boxed_class = {
"GObject_Boxed",
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START |
JSCLASS_HAS_RESERVED_SLOTS(1),
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gi/gerror.c b/gi/gerror.c
index aed9ca4..ad75721 100644
--- a/gi/gerror.c
+++ b/gi/gerror.c
@@ -299,8 +299,7 @@ error_constructor_value_of(JSContext *context, unsigned argc, jsval *vp)
static struct JSClass gjs_error_class = {
"GLib_Error",
JSCLASS_HAS_PRIVATE |
- JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START,
+ JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gi/interface.c b/gi/interface.c
index 0b750ff..43d7019 100644
--- a/gi/interface.c
+++ b/gi/interface.c
@@ -144,8 +144,7 @@ interface_new_resolve(JSContext *context,
static struct JSClass gjs_interface_class = {
"GObject_Interface",
JSCLASS_HAS_PRIVATE |
- JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START,
+ JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gi/ns.c b/gi/ns.c
index 7187001..9bf7ef2 100644
--- a/gi/ns.c
+++ b/gi/ns.c
@@ -156,8 +156,7 @@ ns_finalize(JSContext *context,
static struct JSClass gjs_ns_class = {
"GIRepositoryNamespace",
JSCLASS_HAS_PRIVATE |
- JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START,
+ JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gi/object.c b/gi/object.c
index 91841d9..a5aac2e 100644
--- a/gi/object.c
+++ b/gi/object.c
@@ -1437,7 +1437,6 @@ static struct JSClass gjs_object_instance_class = {
"GObject_Object",
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START |
JSCLASS_MARK_IS_TRACE,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gi/repo.c b/gi/repo.c
index 06e4163..86dcd19 100644
--- a/gi/repo.c
+++ b/gi/repo.c
@@ -219,8 +219,7 @@ repo_finalize(JSContext *context,
static struct JSClass gjs_repo_class = {
"GIRepository", /* means "new GIRepository()" works */
JSCLASS_HAS_PRIVATE |
- JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START,
+ JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gi/union.c b/gi/union.c
index c48547c..b21c72a 100644
--- a/gi/union.c
+++ b/gi/union.c
@@ -309,8 +309,7 @@ to_string_func(JSContext *context,
static struct JSClass gjs_union_class = {
"GObject_Union",
JSCLASS_HAS_PRIVATE |
- JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START,
+ JSCLASS_NEW_RESOLVE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gjs/importer.c b/gjs/importer.c
index f3d42b8..0a4b1c9 100644
--- a/gjs/importer.c
+++ b/gjs/importer.c
@@ -1006,7 +1006,6 @@ static struct JSClass gjs_importer_class = {
"GjsFileImporter",
JSCLASS_HAS_PRIVATE |
JSCLASS_NEW_RESOLVE |
- JSCLASS_NEW_RESOLVE_GETS_START |
JSCLASS_NEW_ENUMERATE,
JS_PropertyStub,
JS_PropertyStub,
diff --git a/gjs/jsapi-util.h b/gjs/jsapi-util.h
index e53ce2e..19406a8 100644
--- a/gjs/jsapi-util.h
+++ b/gjs/jsapi-util.h
@@ -134,8 +134,7 @@ static JSBool gjs_##cname##_new_resolve(JSContext *context, \
static struct JSClass gjs_##cname##_class = { \
type_name, \
JSCLASS_HAS_PRIVATE | \
- JSCLASS_NEW_RESOLVE | \
- JSCLASS_NEW_RESOLVE_GETS_START, \
+ JSCLASS_NEW_RESOLVE, \
JS_PropertyStub, \
JS_PropertyStub, \
JS_PropertyStub, \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]