forked from AuroraMiddleware/gtk
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 can actually be used. https://bugzilla.gnome.org/show_bug.cgi?id=789678
This commit is contained in:
parent
e11e304d10
commit
2c42d8d6ed
@ -2568,7 +2568,7 @@ gtk_about_dialog_set_license_type (GtkAboutDialog *about,
|
||||
|
||||
g_return_if_fail (GTK_IS_ABOUT_DIALOG (about));
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user