[gjs/wip/xulrunner-2-rebase2: 6/9] Switch from JS_ARGV_CALLEE to JS_CALLEE



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

    Switch from JS_ARGV_CALLEE to JS_CALLEE

 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 e0fe0bd..f189069 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]