summaryrefslogtreecommitdiff
path: root/gi/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'gi/object.h')
-rw-r--r--gi/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/object.h b/gi/object.h
index 2e7b04fb..fd04caf6 100644
--- a/gi/object.h
+++ b/gi/object.h
@@ -382,7 +382,7 @@ class ObjectInstance : public GIWrapperInstance<ObjectBase, ObjectPrototype,
void track_gobject_finalization();
void ignore_gobject_finalization();
void check_js_object_finalized(void);
- void ensure_uses_toggle_ref(JSContext* cx);
+ bool ensure_uses_toggle_ref(JSContext* cx);
[[nodiscard]] bool check_gobject_disposed(const char* for_what) const;
GJS_JSAPI_RETURN_CONVENTION
bool signal_match_arguments_from_object(JSContext* cx,