@girs/peas-2 2.0.0-4.0.0-beta.1 → 2.0.0-4.0.0-beta.2

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/peas-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.1.
8
+ GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.2.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/peas-2",
3
- "version": "2.0.0-4.0.0-beta.1",
3
+ "version": "2.0.0-4.0.0-beta.2",
4
4
  "description": "GJS TypeScript type definitions for Peas-2, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "peas-2.js",
@@ -26,11 +26,11 @@
26
26
  "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit peas-2.d.ts"
27
27
  },
28
28
  "dependencies": {
29
- "@girs/gio-2.0": "^2.77.0-4.0.0-beta.1",
30
- "@girs/gjs": "^4.0.0-beta.1",
31
- "@girs/glib-2.0": "^2.77.0-4.0.0-beta.1",
32
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.1",
33
- "@girs/gobject-2.0": "^2.77.0-4.0.0-beta.1"
29
+ "@girs/gio-2.0": "^2.80.0-4.0.0-beta.2",
30
+ "@girs/gjs": "^4.0.0-beta.2",
31
+ "@girs/glib-2.0": "^2.80.0-4.0.0-beta.2",
32
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.2",
33
+ "@girs/gobject-2.0": "^2.80.0-4.0.0-beta.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "*"
package/peas-2.d.ts CHANGED
@@ -377,6 +377,8 @@ export namespace Peas {
377
377
  *
378
378
  * %NULL is never returned for an index that is smaller than the length
379
379
  * of the list. See g_list_model_get_n_items().
380
+ *
381
+ * The same #GObject instance may not appear more than once in a #GListModel.
380
382
  * @param position the position of the item to fetch
381
383
  */
382
384
  vfunc_get_item(position: number): A | null;
@@ -576,7 +578,7 @@ export namespace Peas {
576
578
  * static void
577
579
  * my_object_class_init (MyObjectClass *klass)
578
580
  * {
579
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
581
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
580
582
  * 0, 100,
581
583
  * 50,
582
584
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -1042,6 +1044,8 @@ export namespace Peas {
1042
1044
  *
1043
1045
  * %NULL is never returned for an index that is smaller than the length
1044
1046
  * of the list. See g_list_model_get_n_items().
1047
+ *
1048
+ * The same #GObject instance may not appear more than once in a #GListModel.
1045
1049
  * @param position the position of the item to fetch
1046
1050
  */
1047
1051
  vfunc_get_item(position: number): A | null;
@@ -1241,7 +1245,7 @@ export namespace Peas {
1241
1245
  * static void
1242
1246
  * my_object_class_init (MyObjectClass *klass)
1243
1247
  * {
1244
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
1248
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
1245
1249
  * 0, 100,
1246
1250
  * 50,
1247
1251
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
@@ -1704,7 +1708,7 @@ export namespace Peas {
1704
1708
  * static void
1705
1709
  * my_object_class_init (MyObjectClass *klass)
1706
1710
  * {
1707
- * properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
1711
+ * properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL,
1708
1712
  * 0, 100,
1709
1713
  * 50,
1710
1714
  * G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);