diff options
author | Tim Lunn <tim@feathertop.org> | 2015-01-03 12:38:05 +1100 |
---|---|---|
committer | Tim Lunn <tim@feathertop.org> | 2015-02-24 07:31:43 +1100 |
commit | 31a1e86a8a0f8637e7d9d4a62cd4a6a49814b7e8 (patch) | |
tree | 47bebeb839f31ffb3eb31721a0e306fef2a8ebb9 /modules/cairo-linear-gradient.cpp | |
parent | 923e3a86a0ca747e99f282eee08dc667a0a6d2c0 (diff) | |
download | gjs-31a1e86a8a0f8637e7d9d4a62cd4a6a49814b7e8.tar.gz |
Port to CallReceiver/CallArgs
JS_ARGV, JS_SET_RVAL are gone in spidermonkey 31, and JS_THIS will be going away in the future
https://bugzilla.gnome.org/show_bug.cgi?id=742249
Diffstat (limited to 'modules/cairo-linear-gradient.cpp')
-rw-r--r-- | modules/cairo-linear-gradient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cairo-linear-gradient.cpp b/modules/cairo-linear-gradient.cpp index 7d20aed3..89c70a6d 100644 --- a/modules/cairo-linear-gradient.cpp +++ b/modules/cairo-linear-gradient.cpp @@ -37,7 +37,7 @@ GJS_NATIVE_CONSTRUCTOR_DECLARE(cairo_linear_gradient) GJS_NATIVE_CONSTRUCTOR_PRELUDE(cairo_linear_gradient); - if (!gjs_parse_args(context, "LinearGradient", "ffff", argc, argv, + if (!gjs_parse_call_args(context, "LinearGradient", "ffff", argv, "x0", &x0, "y0", &y0, "x1", &x1, |