@girs/gobject-2.0 2.82.0-4.0.0-beta.16 → 2.82.2-4.0.0-beta.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gobject-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GObject-2.0, generated from library version 2.82.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.16.
8
+ GJS TypeScript type definitions for GObject-2.0, generated from library version 2.82.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.17.
9
9
 
10
10
 
11
11
  ## Install
package/gobject-2.0.d.ts CHANGED
@@ -1507,14 +1507,11 @@ export namespace GObject {
1507
1507
  *
1508
1508
  * If `closure` is a floating reference (see g_closure_sink()), this function
1509
1509
  * takes ownership of `closure`.
1510
- *
1511
- * This function cannot fail. If the given signal doesn’t exist, a critical
1512
- * warning is emitted.
1513
1510
  * @param instance the instance to connect to.
1514
1511
  * @param detailed_signal a string of the form "signal-name::detail".
1515
1512
  * @param closure the closure to connect.
1516
1513
  * @param after whether the handler should be called before or after the default handler of the signal.
1517
- * @returns the handler ID (always greater than 0)
1514
+ * @returns the handler ID (always greater than 0 for successful connections)
1518
1515
  */
1519
1516
  function signal_connect_closure(
1520
1517
  instance: Object,
@@ -1527,15 +1524,12 @@ export namespace GObject {
1527
1524
  *
1528
1525
  * If `closure` is a floating reference (see g_closure_sink()), this function
1529
1526
  * takes ownership of `closure`.
1530
- *
1531
- * This function cannot fail. If the given signal doesn’t exist, a critical
1532
- * warning is emitted.
1533
1527
  * @param instance the instance to connect to.
1534
1528
  * @param signal_id the id of the signal.
1535
1529
  * @param detail the detail.
1536
1530
  * @param closure the closure to connect.
1537
1531
  * @param after whether the handler should be called before or after the default handler of the signal.
1538
- * @returns the handler ID (always greater than 0)
1532
+ * @returns the handler ID (always greater than 0 for successful connections)
1539
1533
  */
1540
1534
  function signal_connect_closure_by_id(
1541
1535
  instance: Object,
@@ -1749,8 +1743,9 @@ export namespace GObject {
1749
1743
  * Validate a signal name. This can be useful for dynamically-generated signals
1750
1744
  * which need to be validated at run-time before actually trying to create them.
1751
1745
  *
1752
- * See [func`GObject`.signal_new] for details of the rules for valid names.
1753
- * The rules for signal names are the same as those for property names.
1746
+ * See [canonical parameter names][canonical-parameter-names] for details of
1747
+ * the rules for valid names. The rules for signal names are the same as those
1748
+ * for property names.
1754
1749
  * @param name the canonical name of the signal
1755
1750
  * @returns %TRUE if @name is a valid signal name, %FALSE otherwise.
1756
1751
  */
@@ -3812,8 +3807,8 @@ export namespace GObject {
3812
3807
  * dynamically-generated properties which need to be validated at run-time
3813
3808
  * before actually trying to create them.
3814
3809
  *
3815
- * See [canonical parameter names][class`GObject`.ParamSpec#parameter-names]
3816
- * for details of the rules for valid names.
3810
+ * See [canonical parameter names][canonical-parameter-names] for details of
3811
+ * the rules for valid names.
3817
3812
  * @param name the canonical name of the property
3818
3813
  */
3819
3814
  static is_valid_name(name: string): boolean;
@@ -6304,7 +6299,7 @@ export namespace GObject {
6304
6299
  */
6305
6300
  copy(): ValueArray;
6306
6301
  /**
6307
- * Return a pointer to the value at `index_` contained in `value_array`.
6302
+ * Return a pointer to the value at `index_` containd in `value_array`.
6308
6303
  * @param index_ index of the value of interest
6309
6304
  * @returns pointer to a value at @index_ in @value_array
6310
6305
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@girs/gobject-2.0",
3
- "version": "2.82.0-4.0.0-beta.16",
4
- "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.82.0",
3
+ "version": "2.82.2-4.0.0-beta.17",
4
+ "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.82.2",
5
5
  "type": "module",
6
6
  "module": "gobject-2.0.js",
7
7
  "main": "gobject-2.0.js",
@@ -31,8 +31,8 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.0.0-beta.16",
35
- "@girs/glib-2.0": "^2.82.0-4.0.0-beta.16"
34
+ "@girs/gjs": "^4.0.0-beta.17",
35
+ "@girs/glib-2.0": "^2.82.2-4.0.0-beta.17"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "*"