GNOME Bugzilla – Bug 121182
register enum GTypes
Last modified: 2004-12-22 21:47:04 UTC
This patch adds the get_type() functions to register GTypes for the enums, as other GNOME libraries do. We need this for gtkmm, and I think it's necessary for use in GValues.
Created attachment 19643 [details] [review] gnomevfs_enum_types.patch
This isn't actually 100% finished, because one of the function names has the _ in the wrong place, because glib-mkenums is confused by the capitalization of GnomeVFSURIHideOptions. But I wanted to upload this somewhere safe.
Here (gnomevfs_enum_types2.patch) is a full working patch, but it requires the glib patch in bug #121386.
Created attachment 19723 [details] [review] gnomevfs_enum_types2.patch
Hmm. That's in glib 2.4, right? I guess we can use that for 2.5 though since we're depending on the new gtk+.
Yes, it will need GTK+ 2.4.
I mean glib 2.4.
This patch (gnomevfs_enum_types3.patch) is better - it uses the GNOME_VFS_ macro prefix instead of LIBGNOMEVFS_
Created attachment 20408 [details] [review] gnomevfs_enum_types3.patch
Created attachment 21317 [details] [review] gnomevfs_enum_types4.patch
This one (gnomevfs_enum_types4.patch) doesn't require the glib patch. May I commit this to HEAD?
Please.
looks fine to commit.
Applied.