GNOME Bugzilla – Bug 581304
GUserDirectory C enum is not wrapped as a C++ enum
Last modified: 2010-06-08 15:52:28 UTC
While using the Glib::get_user_special_dir(GUserDirectory) function today, I realised that GUserDirectory is an enum from the C Glib API, and is not wrapped as a C++ enum. There is a TODO in the header glib/glibmm/miscutils.h that mentions this should probably be done. Daniel agreed, but pointed out that this would break ABI. Possibly a candidate for glibmm-3maybe or some future ABI-breaking version?
do we have a keyword that we're using to identify gtkmm3 bugs?
Not really. For glibmm, I just keep them open until we branch. For gtkmm, I just make the fix in the branch.
I fixed this in the glibmm-3maybe branch with this commit: 2010-06-08 Murray Cumming <murrayc@murrayc.com> Wrap and use the Glib::UserDirectory enum. * glib/src/enums.[hg|ccg]: Added this, as a place to put generated enums to use in non-generated files. * glib/glibmm/miscutils.[h|cc]: get_user_special_dir(): Change the GUserDirectory parameter to a Glib::UserDirectory. This fixes bug #581304 (David King)