Gsettings "change-event" not fully introspectable

Bug #878505 reported by marmuta
6
This bug affects 1 person
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."change-event" appear to be
(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/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)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gir1.2-glib-2.0 1.30.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
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-introspection
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
marmuta (marmuta) wrote :
Revision history for this message
marmuta (marmuta) wrote :

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

Revision history for this message
marmuta (marmuta) wrote :
Martin Pitt (pitti)
Changed in gobject-introspection (Ubuntu):
status: New → Triaged
Martin Pitt (pitti)
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
Martin Pitt (pitti)
Changed in pygobject (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pygobject - 3.7.91-0ubuntu1

---------------
pygobject (3.7.91-0ubuntu1) raring; urgency=low

  * New upstream release.
    - Fix marshalling of C arrays with explicit length in signal arguments,
      such as GSettings::change-event. (LP: #878505)
  * Drop 02_disable_buggy_test.patch, test got fixed upstream.
 -- Martin Pitt <email address hidden> Mon, 04 Mar 2013 17:46:16 +0100

Changed in pygobject (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.