RE: Any doc or sample code for using Libgnome-menu2 ?



>>
>> (lt-gnome-menu-spec-test:26922): GLib-GObject-CRITICAL **:
>/build/buildd/glib2.0-2.16.6/gobject/gtype.c:2248: initialization assertion
>failed, use IA__g_type_init() prior to this function
>
>Which version of gnome-menus is this? It should have been fixed with:
>
>2008-04-11  Vincent Untz  <vuntz gnome org>
>
>        [...]
>        * libmenu/menu-monitor.c: (register_monitor): call g_type_init() once
>        since we're using gio in this file and so GObjects. Since
>        libgnome-menus doesn't export any GObject stuff, an app can't know that
>        g_type_init() has to be called and we have to do it.
>
>This is in 2.22.2 and 2.24.x. If you're using 2.22.1 or lower, then this is
>expected, I guess.
>
>Vincent

Thanks Vincent
Yes , I get the source code from ubuntu source, it's 2.22.1.
By the way, is there any other sample code or api doc available? 8 )

Raymond


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