GNOME Bugzilla – Bug 526705
GstIndexResolver uses nickname field as description field
Last modified: 2008-04-07 13:27:06 UTC
GEnumValue struct's third field is for nickname not description. (*) But GstIndexResolver uses the field for description. (*): http://library.gnome.org/devel/gobject/stable/gobject-Enumeration-and-Flag-Types.html Ruby/GLib's dynamic GEnum/GFlags definition routine uses a nickname field for generating constant name in Ruby. If a nickname field has description not nickname, Ruby/GLib can't generate reasonable constant name from it. Could you use nickname field just for nickname not description?
Sure, thanks for pointing it out: 2008-04-07 Tim-Philipp Müller <tim at centricular dot net> * gst/gstindex.c: (gst_index_resolver_get_type): Don't put descriptions into the nick field of a GEnumValue: it's not meant for that and some language bindings rely on the nick field to construct constants and the like. Fixes #526705.