Skip to content

aboutdialog: Update precondition checks for new licenses added in 3.24.20

Simon McVittie requested to merge cherry-pick-6d8fb83a into master

To avoid making this mistake again, add a static assertion that the enum is in sync with gtk_license_info, and use the length of gtk_license_info for the precondition check.

Resolves: #2734 (closed)


GTK4 version of !1876 (merged).

Edited by Simon McVittie

Merge request reports