[gtk+] AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0
- Date: Tue, 31 Oct 2017 18:57:47 +0000 (UTC)
commit 2c42d8d6ed983463b63ed75668bac09ee2b515a9
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 can actually be used.
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 1534c5b..820f01c 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]