summaryrefslogtreecommitdiff
path: root/modules/cairo-surface-pattern.cpp
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2017-12-10 00:14:34 -0800
committerPhilip Chimento <philip.chimento@gmail.com>2018-07-28 22:15:51 -0400
commitcda7624f499f83d5187a42b2b22726a2f201431e (patch)
tree60f71804efac42f5455de07c22b0439526463cab /modules/cairo-surface-pattern.cpp
parent1e1ef59377765b21cb2f413529a21bbf449a8728 (diff)
downloadgjs-cda7624f499f83d5187a42b2b22726a2f201431e.tar.gz
js: Replace JS_FS with JS_FN
The macro simply changed its name. See: #161
Diffstat (limited to 'modules/cairo-surface-pattern.cpp')
-rw-r--r--modules/cairo-surface-pattern.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/cairo-surface-pattern.cpp b/modules/cairo-surface-pattern.cpp
index 232e8a8e..44e558b2 100644
--- a/modules/cairo-surface-pattern.cpp
+++ b/modules/cairo-surface-pattern.cpp
@@ -175,12 +175,11 @@ getFilter_func(JSContext *context,
}
JSFunctionSpec gjs_cairo_surface_pattern_proto_funcs[] = {
- JS_FS("setExtend", setExtend_func, 0, 0),
- JS_FS("getExtend", getExtend_func, 0, 0),
- JS_FS("setFilter", setFilter_func, 0, 0),
- JS_FS("getFilter", getFilter_func, 0, 0),
- JS_FS_END
-};
+ JS_FN("setExtend", setExtend_func, 0, 0),
+ JS_FN("getExtend", getExtend_func, 0, 0),
+ JS_FN("setFilter", setFilter_func, 0, 0),
+ JS_FN("getFilter", getFilter_func, 0, 0),
+ JS_FS_END};
JSFunctionSpec gjs_cairo_surface_pattern_static_funcs[] = { JS_FS_END };