Re: suggestion/request: gtk_init returns on failure
- From: Owen Taylor <otaylor redhat com>
- To: Jan Kratochvil <short ucw cz>
- Cc: Andy Kahn <kahn zk3 dec com>, gtk-list redhat com
- Subject: Re: suggestion/request: gtk_init returns on failure
- Date: 19 Feb 1999 16:47:50 -0500
Jan Kratochvil <short@ucw.cz> writes:
> > basically, it would be something like this:
> > 
> > 	/*
> > 	 * returns 0 on success, some other value if error
> > 	 */
> > 	int gtk_init(int *argc, char ***argv);
> 
>   Maybe it is a hack, but from yet unreleased gBill under development:
[...]
> static void gdk_recovery(void)
> {
>         dbg(printf("gdk_recovery!!!\n"));
>         if (isinit) {
>                 dbg(printf("already inited/failed\n"));
>                 return;
>                 }
>         longjmp(jumpbuffer,1);
> }
The whole point of posting this is to force me to change
GTK+, right? Nobody would actually do such a thing, would
they? 
                                        Owen
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]