Any doc or sample code for using Libgnome-menu2 ?



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



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