@girs/gobject-2.0 2.80.3-4.0.0-beta.15 → 2.82.0-4.0.0-beta.16

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.80.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.15.
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.
9
9
 
10
10
 
11
11
  ## Install
package/gobject-2.0.d.ts CHANGED
@@ -1507,11 +1507,14 @@ 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.
1510
1513
  * @param instance the instance to connect to.
1511
1514
  * @param detailed_signal a string of the form "signal-name::detail".
1512
1515
  * @param closure the closure to connect.
1513
1516
  * @param after whether the handler should be called before or after the default handler of the signal.
1514
- * @returns the handler ID (always greater than 0 for successful connections)
1517
+ * @returns the handler ID (always greater than 0)
1515
1518
  */
1516
1519
  function signal_connect_closure(
1517
1520
  instance: Object,
@@ -1524,12 +1527,15 @@ export namespace GObject {
1524
1527
  *
1525
1528
  * If `closure` is a floating reference (see g_closure_sink()), this function
1526
1529
  * takes ownership of `closure`.
1530
+ *
1531
+ * This function cannot fail. If the given signal doesn’t exist, a critical
1532
+ * warning is emitted.
1527
1533
  * @param instance the instance to connect to.
1528
1534
  * @param signal_id the id of the signal.
1529
1535
  * @param detail the detail.
1530
1536
  * @param closure the closure to connect.
1531
1537
  * @param after whether the handler should be called before or after the default handler of the signal.
1532
- * @returns the handler ID (always greater than 0 for successful connections)
1538
+ * @returns the handler ID (always greater than 0)
1533
1539
  */
1534
1540
  function signal_connect_closure_by_id(
1535
1541
  instance: Object,
@@ -1743,9 +1749,8 @@ export namespace GObject {
1743
1749
  * Validate a signal name. This can be useful for dynamically-generated signals
1744
1750
  * which need to be validated at run-time before actually trying to create them.
1745
1751
  *
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.
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.
1749
1754
  * @param name the canonical name of the signal
1750
1755
  * @returns %TRUE if @name is a valid signal name, %FALSE otherwise.
1751
1756
  */
@@ -3807,8 +3812,8 @@ export namespace GObject {
3807
3812
  * dynamically-generated properties which need to be validated at run-time
3808
3813
  * before actually trying to create them.
3809
3814
  *
3810
- * See [canonical parameter names][canonical-parameter-names] for details of
3811
- * the rules for valid names.
3815
+ * See [canonical parameter names][class`GObject`.ParamSpec#parameter-names]
3816
+ * for details of the rules for valid names.
3812
3817
  * @param name the canonical name of the property
3813
3818
  */
3814
3819
  static is_valid_name(name: string): boolean;
@@ -6299,7 +6304,7 @@ export namespace GObject {
6299
6304
  */
6300
6305
  copy(): ValueArray;
6301
6306
  /**
6302
- * Return a pointer to the value at `index_` containd in `value_array`.
6307
+ * Return a pointer to the value at `index_` contained in `value_array`.
6303
6308
  * @param index_ index of the value of interest
6304
6309
  * @returns pointer to a value at @index_ in @value_array
6305
6310
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@girs/gobject-2.0",
3
- "version": "2.80.3-4.0.0-beta.15",
4
- "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.80.3",
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",
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.15",
35
- "@girs/glib-2.0": "^2.80.3-4.0.0-beta.15"
34
+ "@girs/gjs": "^4.0.0-beta.16",
35
+ "@girs/glib-2.0": "^2.82.0-4.0.0-beta.16"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "*"