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 625318 - [gdbus-codegen] Always add in/out parameter prefixes
[gdbus-codegen] Always add in/out parameter prefixes
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gdbus
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-07-26 13:40 UTC by Milan Crha
Modified: 2018-05-24 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed gbt patch (13.06 KB, patch)
2010-07-26 13:44 UTC, Milan Crha
none Details | Review

Description Milan Crha 2010-07-26 13:40:55 UTC
Sometimes method parameters can have same name as those used by GDBus generated code, like an 'object' parameter name, thus it would be better to always prefix in/out parameters with a text which will distinguish between them.
Comment 1 Milan Crha 2010-07-26 13:44:21 UTC
Created attachment 166583 [details] [review]
proposed gbt patch

for gdbus-binding-tool;

This adds prefixes where were not used. It also adds some explicit castings, to get rid of some harmless, but annoying, compiler warnings from the generated code, so it compiles without compiler warnings.
Comment 2 GNOME Infrastructure Team 2018-05-24 12:32:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/324.