Re: Example of glib-mkenums?



On Tue, 2003-08-26 at 17:29, Owen Taylor wrote:
> On Tue, 2003-08-26 at 10:59, Murray Cumming Comneon com wrote:
> > I'm trying to add gtype-registration of enums to gnome-vfs, for which I
> > think I should use glib-mkenums, but I see different ways of doing this in
> > gtk+, gconf, and libgnomeui. Does anyone know which would be best to copy?
> 
> Pango might be a good place to copy.

Thanks a lot. That was quite easy.
( http://bugzilla.gnome.org/show_bug.cgi?id=121182 )

I wonder if you know of any existing way to deal with badly capitalized
enums? GnomeVFSURIHide gives gnome_vfsuri_hide_options_get_type() and
I'm surprised that it does that well. I guess I could write some by
hand.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]