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 663261 - Access gdk_property_change from dynamic bindings
Access gdk_property_change from dynamic bindings
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 665890 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-11-02 20:00 UTC by Raul Gutierrez Segales
Modified: 2018-02-10 03:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Raul Gutierrez Segales 2011-11-02 20:00:53 UTC
In Sugar's toolkit[1], which is now being ported to gtk3, we use gdk_property_change() to set string properties (@data as guchar *). It seems that because the the @data param can be casted to multiple data types it ended up being marked as (skip) so it isn't accessible to us via introspection.

One approach to this would be providing gdk_property_change_{char, short, long} as wrappers for gdk_property_change. Since the cast would be gone, these methods would be introspectable. Or we could have only one wrapper using GValue for @data.

Which approach would be more desirable?

[1] http://git.sugarlabs.org/~erikos/sugar-toolkit/sugar-toolkit-gtk3/commit/c22ec39980f47e78f2341da54f13324333e3d2f0
Comment 1 Daniel Drake 2011-12-09 22:36:34 UTC
*** Bug 665890 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2018-02-10 03:40:06 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.