Re: Gnome equivalent for gtk_init_check() ?
- From: Havoc Pennington <hp redhat com>
- To: Gustavo Joćo Alves Marques Carneiro <ee96090 fe up pt>
- Cc: Rick Niles <niles scyld com>, gnome-devel-list gnome org
- Subject: Re: Gnome equivalent for gtk_init_check() ?
- Date: 14 Jun 2000 13:55:14 -0400
Gustavo Joćo Alves Marques Carneiro <ee96090@fe.up.pt> writes:
> 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.
No, I think you can just do this:
if (gtk_init_check (&argc, &argv))
gnome_init_with_popt_table (...);
> If there was
> a gnome_init_check_with_popt_table, it would be simpler.
>
Yes, of course.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]