mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 21:20:09 +00:00
AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
Add the new GTK_LICENSE_AGPL_3_0 to the allowed enum range checked in gtk_about_dialog_set_license_type(), so this value is not rejected. https://bugzilla.gnome.org/show_bug.cgi?id=789678
This commit is contained in:
parent
a0327e521e
commit
f3408d89d5
@ -2459,7 +2459,7 @@ gtk_about_dialog_set_license_type (GtkAboutDialog *about,
|
|||||||
|
|
||||||
g_return_if_fail (GTK_IS_ABOUT_DIALOG (about));
|
g_return_if_fail (GTK_IS_ABOUT_DIALOG (about));
|
||||||
g_return_if_fail (license_type >= GTK_LICENSE_UNKNOWN &&
|
g_return_if_fail (license_type >= GTK_LICENSE_UNKNOWN &&
|
||||||
license_type <= GTK_LICENSE_LGPL_3_0_ONLY);
|
license_type <= GTK_LICENSE_AGPL_3_0);
|
||||||
|
|
||||||
priv = about->priv;
|
priv = about->priv;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user