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 655150 - soup-session.c: mark helper property API as (skip) to not collide with bindings
soup-session.c: mark helper property API as (skip) to not collide with bindings
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: API
unspecified
Other All
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2011-07-22 21:19 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2011-07-23 02:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
soup-session.c: mark helper property API as (skip) to not collide with bindings (2.72 KB, patch)
2011-07-22 21:19 UTC, Jasper St. Pierre (not reading bugmail)
accepted-commit_now Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-07-22 21:19:54 UTC
See patch.
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-07-22 21:19:58 UTC
Created attachment 192506 [details] [review]
soup-session.c: mark helper property API as (skip) to not collide with bindings

gobject-introspection-bindable interpreters like pygobject and gjs replace "-"s
in property names with "_"s. Given that the property API intentionally uses the
same names as their real methods, this causes a collision. Since the properties
were never intended to be bindable, just mark them as (skip).
Comment 2 Jasper St. Pierre (not reading bugmail) 2011-07-22 21:29:50 UTC
Just a small note, but this would require an extremely recent gobject-introspection (bug #655149). In reality, the property/signal annotations were never parsed in the first place.