[gtk+/gtk-3-22] AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
- Date: Tue, 31 Oct 2017 18:57:51 +0000 (UTC)
commit f3408d89d530f6a5a870c9367d95c62f9604c560
Author: Julian Sparber <julian sparber net>
Date: Tue Oct 31 02:29:59 2017 +0100
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
gtk/gtkaboutdialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index bb69c49..885a7d7 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -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 (license_type >= GTK_LICENSE_UNKNOWN &&
- license_type <= GTK_LICENSE_LGPL_3_0_ONLY);
+ license_type <= GTK_LICENSE_AGPL_3_0);
priv = about->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]