[gjs/wip/xulrunner-2-rebase5: 3/8] Switch from JS_ARGV_CALLEE to JS_CALLEE



commit 7c8546a194e42f2bf2d6cdd0af69c8db7cc10e87
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 21 19:06:43 2010 -0400

    Switch from JS_ARGV_CALLEE to JS_CALLEE
    
    https://bugzilla.gnome.org/show_bug.cgi?id=632159

 modules/dbus-exports.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/dbus-exports.c b/modules/dbus-exports.c
index 8c2df2c..025fafc 100644
--- a/modules/dbus-exports.c
+++ b/modules/dbus-exports.c
@@ -394,7 +394,7 @@ async_call_callback(JSContext *context,
     const char *signature;
     gboolean thrown;
 
-    callback_object = JSVAL_TO_OBJECT(JS_ARGV_CALLEE(argv));
+    callback_object = JSVAL_TO_OBJECT(JS_CALLEE(context, vp));
     reply = NULL;
     thrown = FALSE;
 



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