Re: Gtk2 1.230 (unstable) available



Torsten Schoenfeld <kaffeetisch gmx de> writes:

* In syntax check mode, do not call gtk_init.  gtk_init may abort the
  program (e.g. if DISPLAY is not set), so only call gtk_init_check even
  if asked to call gtk_init.

Might put something about that in the docs, since it'll be a bit subtle
that code really needing an init at BEGIN or CHECK time will fail with
strange gtk errors under -c.  I expect the advice would be that for
maximum flexibility best try to not need init while loading up code,
only at the point it starts to run as such.



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