[gjs] gjs-tests: Remove runtime from fixture



commit c706307165710a13fd8f174a7ef33dbf26107b4f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jan 15 15:47:32 2014 -0500

    gjs-tests: Remove runtime from fixture

 test/gjs-tests.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
index 2dba2b2..bfe746a 100644
--- a/test/gjs-tests.cpp
+++ b/test/gjs-tests.cpp
@@ -31,9 +31,7 @@
 typedef struct _GjsUnitTestFixture GjsUnitTestFixture;
 
 struct _GjsUnitTestFixture {
-    JSRuntime *runtime;
     JSContext *context;
-
     GjsContext *gjs_context;
 };
 
@@ -50,7 +48,6 @@ _gjs_unit_test_fixture_begin (GjsUnitTestFixture *fixture)
 {
     fixture->gjs_context = gjs_context_new ();
     fixture->context = (JSContext *) gjs_context_get_native_context (fixture->gjs_context);
-    fixture->runtime = JS_GetRuntime(fixture->context);
     JS_BeginRequest(fixture->context);
     JS_SetErrorReporter(fixture->context, test_error_reporter);
 }


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