Re: using libgnome w/out libgnomeui




> I am writing a daemon for the gnome-pilot utilities.  I would like to 
> use the gnome configuration stuff, but i don't want to link libgnomeui,
> nor do I want the daemon to try to connect to the XServer.  Anyone know
> how to do this, if it can be done, and if not is there any reason not to
> add it?

Yes, it can be done.  That is the reason we have libgnome and
libgnomeui.  Just invoke "gnomelib_init (char *app_id)" at the
beggining of your program instead of gnome_init ().

The libgnome is intended to be used without gdk/gtk.

Miguel.



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