[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-devel-list
Subject:    Re: How to find out if Gnome has been initialised
From:       Miguel de Icaza <miguel () gnu ! org>
Date:       1999-07-28 12:06:14
Message-ID: 199907281206.HAA20320 () erandi ! nuclecu ! unam ! mx
[Download RAW message or body]


> At a particular point in my code, I need to find out if Gnome has been initialised
> or not (if it hasn't been initialised, I will queue up error messages; otherwise
> the message gets displayed immediately).  I could just keep track of whether I
> have called gnome_init yet, but I would prefer to use a library function if

You can try testing the "char *gnome_app_id" variable, if non-NULL,
then libgnome has been initialized.

Miguel.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic