[PATCH] Deref gui initialization to after options parsing
authorNiclas Zeising <zeising@daemonic.se>
Mon, 9 Sep 2019 15:46:35 +0000 (17:46 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 1 Apr 2020 17:53:42 +0000 (18:53 +0100)
commitcc3480f9ade7d0ef654de468285777d1a121af4b
tree70bc6a6dbbbc65110ceeb33ed845e4b3a2beda61
parent41a019f7ae759a5601d4c757381ec7871770a5fb
[PATCH] Deref gui initialization to after options parsing

Move GUI initialisation when running with GDK until after options
parsing.  This way, help messages, version information and so on can be
printed even when no gui is around, such as running fontforge -version
from a configure script.

Forwarded: https://github.com/fontforge/fontforge/pull/3922
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952408
Applied-Upstream: https://github.com/fontforge/fontforge/commit/ee87536a63534bddc6535d18be793bc19294e274

Gbp-Pq: Name 3000-debian-bug-952408.patch
fontforgeexe/startui.c