[gjs/wip/js24: 6/11] update to c++ api for fop->runtime()



commit 732ab3204db387830187ebc0aeb9ca77dc750af7
Author: Tim Lunn <tim feathertop org>
Date:   Mon Sep 23 11:35:45 2013 +1000

    update to c++ api for fop->runtime()

 gi/object.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/object.cpp b/gi/object.cpp
index cc5fa10..536d3e9 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -1343,7 +1343,7 @@ object_instance_finalize(JSFreeOp  *fop,
 
         set_js_obj(priv->gobj, NULL);
         g_object_remove_toggle_ref(priv->gobj, wrapped_gobj_toggle_notify,
-                                   fop->runtime);
+                                   fop->runtime());
         priv->gobj = NULL;
     }
 
@@ -1364,7 +1364,7 @@ object_instance_finalize(JSFreeOp  *fop,
          * be finalized later and call gobj_no_longer_kept_alive_func.
          */
         {
-            JSContext *context = JS_NewContext(fop->runtime, 8192);
+            JSContext *context = JS_NewContext(fop->runtime(), 8192);
             gjs_keep_alive_remove_child(context, priv->keep_alive,
                                         gobj_no_longer_kept_alive_func,
                                         obj,


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