Re: gnome_program_init()
- From: Malcolm Tredinnick <malcolm commsecure com au>
- To: gnome-2-0-list <gnome-2-0-list gnome org>
- Subject: Re: gnome_program_init()
- Date: Tue, 11 Dec 2001 11:11:15 +0800
On Mon, Dec 10, 2001 at 07:41:19PM +0100, Murray Cumming wrote:
> As I understand it, gnome_program_init() will initialize a particularly
> library and its dependencies, and it should be called only once. But how
> could it initialize everything properly if I'm using libgnomeui and
> libgnomesomething that doesn't require libgnomeui and isn't required by
> libgnomeui - i.e. 2 libraries that don't depend on each other?
>
> I ask because I'm thinking about the best way to wrap this for C++.
You would need to set up a chain of GnomeModuleInfo structures that
between them contained all the required modules. GnomeModuleInfo has a
GnomeModuleRequirement* element that you use to chain them together.
Malcolm
--
Change is inevitable except from vending machines.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]