Re: Gnome equivalent for gtk_init_check() ?
- From: Gustavo Joćo Alves Marques Carneiro <ee96090 fe up pt>
- To: Havoc Pennington <hp redhat com>
- Cc: Rick Niles <niles scyld com>, gnome-devel-list gnome org
- Subject: Re: Gnome equivalent for gtk_init_check() ?
- Date: Wed, 14 Jun 2000 17:18:19 +0100 (WEST)
On 14 Jun 2000, Havoc Pennington wrote:
>
>
> Rick Niles <niles@scyld.com> writes:
> > I'd like to move a GTK+ app I'm writting from GTK+ to Gnome, but I
> > can't find the equivalent of gtk_init_check () in Gnome. In
> > particular I'd like gnome_init_with_popt_table_check (). So if the
> > display is not set correctly I can fall back to curses. Why does this
> > not exist?
> >
>
> An oversight. I think it's OK to do gtk_init_check(), and then call
> gnome_init(). I don't know for sure, but, worth a try.
Yes, but what about the popt table? One has to call gtk_init_check. If
it fails, we have to call some popt function to parse the arguments and
skip gnome_init, otherwise call gnome_init_with_popt_table. If there was
a gnome_init_check_with_popt_table, it would be simpler.
>
> Havoc
>
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
>
--
Gustavo J.A.M. Carneiro
[linuxdeec.fe.up.pt/~ee96090]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]