Ticket #44118

gtk_init_check()

Open Date: 2022-03-16 04:57 Last Update: 2022-06-20 03:12

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
3

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 History (3/7 Histories)

2022-03-16 04:57 Updated by: cazfi
  • New Ticket "gtk_init_check()" created
2022-05-31 09:46 Updated by: cazfi
  • Milestone Update from (None) to 3.0.3 (closed)
  • Component Update from (None) to Gtk3.22-client
2022-06-10 11:29 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-06-20 03:12 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login