summaryrefslogtreecommitdiff
path: root/modules/cairo-surface-pattern.cpp
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2016-09-07 18:00:06 -0700
committerPhilip Chimento <philip@endlessm.com>2016-12-09 19:04:21 -0800
commitab656e34605f252bff6999cdc89fc279a68fcf1f (patch)
treeb214ea983fcb3a5b55567901c0a9b6f2d25ac857 /modules/cairo-surface-pattern.cpp
parentbce2da5c7bacca228724210802785c083fe3f580 (diff)
downloadgjs-ab656e34605f252bff6999cdc89fc279a68fcf1f.tar.gz
js: Remove remaining usage of JSBool
Since mozjs31 does away with JSBool entirely, we can now replace the remaining occurrences of it in the API with C++ bool. https://bugzilla.gnome.org/show_bug.cgi?id=751252
Diffstat (limited to 'modules/cairo-surface-pattern.cpp')
-rw-r--r--modules/cairo-surface-pattern.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/cairo-surface-pattern.cpp b/modules/cairo-surface-pattern.cpp
index 4df6c6a3..136f348e 100644
--- a/modules/cairo-surface-pattern.cpp
+++ b/modules/cairo-surface-pattern.cpp
@@ -74,7 +74,7 @@ JSPropertySpec gjs_cairo_surface_pattern_proto_props[] = {
};
-static JSBool
+static bool
setExtend_func(JSContext *context,
unsigned argc,
JS::Value *vp)
@@ -97,7 +97,7 @@ setExtend_func(JSContext *context,
return true;
}
-static JSBool
+static bool
getExtend_func(JSContext *context,
unsigned argc,
JS::Value *vp)
@@ -122,7 +122,7 @@ getExtend_func(JSContext *context,
return true;
}
-static JSBool
+static bool
setFilter_func(JSContext *context,
unsigned argc,
JS::Value *vp)
@@ -145,7 +145,7 @@ setFilter_func(JSContext *context,
return true;
}
-static JSBool
+static bool
getFilter_func(JSContext *context,
unsigned argc,
JS::Value *vp)