GNOME Bugzilla – Bug 647796
g_variant_new_variant is not marked as constructor
Last modified: 2015-02-07 16:46:50 UTC
The function g_variant_new_variant is currently marked as method not as constructor.
Created attachment 185971 [details] [review] glib-2.0.c: Added annotation for g_variant_new_variant to mark it as constructor
Review of attachment 185971 [details] [review]: Looks good, please commit.
Thanks, just committed it to master.
Apparently this has been committed to gobject-introspection git, but not to the master in glib? Doesn't glib-2.0.c in g-i get autogenerated from the glib source?
(In reply to comment #4) > Apparently this has been committed to gobject-introspection git, but not to the > master in glib? Doesn't glib-2.0.c in g-i get autogenerated from the glib > source? this seems indeed to be a problem, see this commit on gobject-introspection: http://git.gnome.org/browse/gobject-introspection/commit/?id=6d30588c1c95929694cd3e92c229ebcc46e5449a The change has thus been reverted.
I recently switched glib-2.0.c to be auto-generated from glib/glib, but missed that annotation. Should be fixed now.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]