Have you called gtk_init() or g_type_init() ??

(See the first warning).

--d

On Mon, Nov 10, 2008 at 03:03:42PM +0800, Liu, Raymond wrote:
> Hi 
>       I am trying to use libgnome-menu2 for desktop file info retrieve.
>       However I could not find any API reference or sample code on web or in 
> the source package.
>       Can anyone share some information on this to me?
> 
>       I did try to build and run the util/gnome-menu-spec-test, But it failed 
> with:
> 
> $ ./gnome-menu-spec-test
> 
> (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
> 
> (lt-gnome-menu-spec-test:26922): GLib-GObject-CRITICAL **: 
> g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE 
> (interface_type)' failed
> 
> (lt-gnome-menu-spec-test:26922): GLib-CRITICAL **: g_once_init_leave: 
> assertion `initialization_value != 0' failed
> 
> (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
> 
> (lt-gnome-menu-spec-test:26922): GLib-CRITICAL **: g_once_init_leave: 
> assertion `initialization_value != 0' failed
> 
> (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
> 
> (lt-gnome-menu-spec-test:26922): GLib-CRITICAL **: g_once_init_leave: 
> assertion `initialization_value != 0' failed
> 
> 
>       Is there anything I need to do to run this test case, except the 
> ./configure make process (     I do have this library installed on my 
> ubuntu-8.04,so I don't use make install) ? Where can I find some doc and 
> sample code using this library?
> 
> Best Regards,
> Raymond Liu
> 
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list

-- 
Davyd Madeley

http://www.davyd.id.au/
08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to