#44118: gtk_init_check() Open Date: 2022-03-15 21:57 Last Update: 2022-06-19 21:12 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44118 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44118 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-19 21:12 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Closed Priority: 5 - Medium MileStone: 3.0.3 Component: Gtk3.22-client Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Maybe we should use gtk_init_check() instead of gtk_init()? Latter aborts in error situations, former returns and would allow us to handle the program termination ourselves, with things like writing a line to freeciv's own log about the failure. Applies both to gtk-clients and gtk modpack installers. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44118 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44118