#44118: gtk_init_check() Open Date: 2022-03-15 21:57 Last Update: 2022-06-10 05:29 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-10 05:29 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.3 Component: Gtk3.22-client Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- 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