diff options
Diffstat (limited to 'lang/gjs/files/patch-gi_object.c')
-rw-r--r-- | lang/gjs/files/patch-gi_object.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/gjs/files/patch-gi_object.c b/lang/gjs/files/patch-gi_object.c index 3609a301a..3589ee982 100644 --- a/lang/gjs/files/patch-gi_object.c +++ b/lang/gjs/files/patch-gi_object.c @@ -2,19 +2,19 @@ libxul 1.9.2.x doesn't support this yet. http://git.gnome.org/browse/gjs/commit/?id=72bc4307860a315f9d2173d700582add938d79a0 ---- gi/object.c.orig 2011-09-22 17:15:11.000000000 +0200 -+++ gi/object.c 2011-09-22 17:17:46.000000000 +0200 -@@ -674,7 +674,6 @@ +--- gi/object.c.orig 2012-01-22 11:53:37.000000000 +0100 ++++ gi/object.c 2012-01-22 11:54:37.000000000 +0100 +@@ -674,7 +674,6 @@ GJS_NATIVE_CONSTRUCTOR_DECLARE(object_in if (unthreadsafe_template_for_constructor.gobj == NULL) { GParameter *params; int n_params; - GTypeQuery query; + JSObject *old_jsobj; gtype = g_registered_type_info_get_g_type( (GIRegisteredTypeInfo*) priv->info); - if (gtype == G_TYPE_NONE) { -@@ -693,9 +692,6 @@ - priv->gobj = g_object_newv(gtype, n_params, params); - free_g_params(params, n_params); +@@ -711,9 +710,6 @@ GJS_NATIVE_CONSTRUCTOR_DECLARE(object_in + goto out; + } - g_type_query(gtype, &query); - JS_updateMallocCounter(context, query.instance_size); |