After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665890 - gdk_property_change API non-introspection-friendly
gdk_property_change API non-introspection-friendly
Status: RESOLVED DUPLICATE of bug 663261
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-12-09 22:34 UTC by Daniel Drake
Modified: 2011-12-09 22:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Drake 2011-12-09 22:34:27 UTC
The gdk_property_change() API contains as parameters a data type, then an array of elements of that type, and finally a "nelements" array length parameter.

Such APIs are not introspection friendly since the rules to determine the memory used by the parameters are complex and non-standard, and hence this function was marked (skip):
http://git.gnome.org/browse/gtk+/commit/gdk/gdkwindow.c?id=374e76a19dac87676995356f6daacb10f4bb6e36

Sugar would like to use this function from Python in order to apply X Window properties to activities that are launched. It would be nice if this API could be reworked to be introspectable, in the mean time Sugar will use a C wrapper layer to call this.
Comment 1 Daniel Drake 2011-12-09 22:36:34 UTC
Dup of #663261, sorry.

*** This bug has been marked as a duplicate of bug 663261 ***