[gjs: 1/11] tests: Remove ignored argument




commit b95120cd8c11d90ee61b94363a468e8fe63935b2
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Sep 25 12:08:52 2021 -0700

    tests: Remove ignored argument
    
    GObject.ParamSpec.jsobject only takes four arguments.

 installed-tests/js/testGObjectClass.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/installed-tests/js/testGObjectClass.js b/installed-tests/js/testGObjectClass.js
index 98c735b8..41e7a8e9 100644
--- a/installed-tests/js/testGObjectClass.js
+++ b/installed-tests/js/testGObjectClass.js
@@ -1030,7 +1030,7 @@ describe('Auto accessor generation', function () {
 const MyObjectWithJSObjectProperty = GObject.registerClass({
     Properties: {
         'jsobj-prop': GObject.ParamSpec.jsobject('jsobj-prop', 'jsobj-prop', 'jsobj-prop',
-            GObject.ParamFlags.CONSTRUCT | GObject.ParamFlags.READWRITE, ''),
+            GObject.ParamFlags.CONSTRUCT | GObject.ParamFlags.READWRITE),
     },
 }, class MyObjectWithJSObjectProperty extends GObject.Object {
 });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]