Gsettings "change-event" not fully introspectable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Fix Released
|
Medium
|
|||
pygobject (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
The current parameters of the call-back for Gio.Settings.
(settings, keys, n_keys), where keys is always empty.
I believe they are meant to be
(settings, keys), with "keys" actually containing the list of changes keys.
There is also this assert, when the event fires:
/usr/lib/
return info.invoke(*args, **kwargs)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gir1.2-glib-2.0 1.30.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Wed Oct 19 22:39:58 2011
ProcEnviron:
PATH=(custom, User Name)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gobject-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gobject-introspection (Ubuntu): | |
status: | New → Triaged |
affects: | gobject-introspection (Ubuntu) → pygobject (Ubuntu) |
affects: | gobject-introspection → pygobject |
Changed in pygobject: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in pygobject: | |
status: | Confirmed → Fix Released |
Changed in pygobject (Ubuntu): | |
status: | Triaged → Fix Committed |
assignee: | nobody → Martin Pitt (pitti) |
Here is a minimal python sample. The output is:
/usr/lib/ python2. 7/dist- packages/ gi/types. py:43: Warning: g_value_get_boxed: assertion `G_VALUE_ HOLDS_BOXED (value)' failed
return info.invoke(*args, **kwargs)
<Settings object at 0x7f675bd61780 (GSettings at 0xb41b70)> [] 1