[gjs] tests: Don't use deprecated/removed API



commit 1c14de0ac3601f2c2894b628e5b0665371ff0d8f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Dec 11 23:55:47 2012 -0500

    tests: Don't use deprecated/removed API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678410

 gjs/jsapi-util-array.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gjs/jsapi-util-array.c b/gjs/jsapi-util-array.c
index 938293c..cd74afa 100644
--- a/gjs/jsapi-util-array.c
+++ b/gjs/jsapi-util-array.c
@@ -311,7 +311,6 @@ gjstest_test_func_gjs_jsapi_util_array(void)
         gjs_rooted_array_append(context, array, value);
     }
 
-    JS_ClearNewbornRoots(context);
     JS_GC(context);
 
     for (i = 0; i < N_ELEMS; i++) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]