#44118: gtk_init_check() Open Date: 2022-03-15 21:57 Last Update: 2022-03-15 21:57 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-03-15 21:57 Updated by: cazfi * New Ticket "gtk_init_check()" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- 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