summaryrefslogtreecommitdiff
path: root/modules/cairo-linear-gradient.cpp
diff options
context:
space:
mode:
authorTim Lunn <tim@feathertop.org>2015-01-03 12:38:05 +1100
committerTim Lunn <tim@feathertop.org>2015-02-24 07:31:43 +1100
commit31a1e86a8a0f8637e7d9d4a62cd4a6a49814b7e8 (patch)
tree47bebeb839f31ffb3eb31721a0e306fef2a8ebb9 /modules/cairo-linear-gradient.cpp
parent923e3a86a0ca747e99f282eee08dc667a0a6d2c0 (diff)
downloadgjs-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.cpp2
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,