gnim 1.2.2 → 1.2.3

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/dist/jsx/state.js CHANGED
@@ -175,14 +175,14 @@ export function createConnection(init, h1, h2, h3, h4, h5, h6, h7, h8, h9) {
175
175
  const subscribe = (callback) => {
176
176
  if (subscribers.size === 0) {
177
177
  dispose = signals.map(([object, signal, callback]) => {
178
- const id = object.connect(signal, (_, ...args) => {
178
+ const id = GObject.Object.prototype.connect.call(object, signal, (_, ...args) => {
179
179
  const newValue = callback(...args);
180
180
  if (value !== newValue) {
181
181
  value = newValue;
182
182
  subscribers.forEach((cb) => cb());
183
183
  }
184
184
  });
185
- return () => object.disconnect(id);
185
+ return () => GObject.Object.prototype.disconnect.call(object, id);
186
186
  });
187
187
  }
188
188
  subscribers.add(callback);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gnim",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "author": "Aylur",
6
6
  "license": "MIT",
Binary file