Re: How to find out if Gnome has been initialised




> 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.



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