summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Sadik <sadiq@sadiqpk.org>2016-03-18 19:48:29 +0530
committerMatthias Clasen <mclasen@redhat.com>2016-03-24 23:18:40 -0400
commit40e777ae30d0dcd14dd615958f3ebfa53e5f069b (patch)
tree98280a8e644d28e6320972571e1fa9b57515ec0a
parentcaa804613d9c5253cec75e4bb7920b3110c0bd57 (diff)
downloadgtk+-40e777ae30d0dcd14dd615958f3ebfa53e5f069b.tar.gz
gtkaboutdialog: Add support for GNU Affero GPLv3+
Add support for GNU Affero GPLv3 (or later) to GtkLicense enum https://bugzilla.gnome.org/show_bug.cgi?id=763850
-rw-r--r--gtk/gtkaboutdialog.c1
-rw-r--r--gtk/gtkaboutdialog.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 269c84051b..246b7abe23 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -119,6 +119,7 @@ static const LicenseInfo gtk_license_info [] = {
{ N_("Custom License") , NULL },
{ N_("GNU General Public License, version 2 or later"), "http://www.gnu.org/licenses/old-licenses/gpl-2.0.html" },
{ N_("GNU General Public License, version 3 or later"), "http://www.gnu.org/licenses/gpl-3.0.html" },
+ { N_("GNU Affero General Public License, version 3 or later"), "http://www.gnu.org/licenses/agpl-3.0.html" },
{ N_("GNU Lesser General Public License, version 2.1 or later"), "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" },
{ N_("GNU Lesser General Public License, version 3 or later"), "http://www.gnu.org/licenses/lgpl-3.0.html" },
{ N_("BSD 2-Clause License"), "http://opensource.org/licenses/bsd-license.php" },
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h
index 98279fbb58..e2c1d734f8 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -49,6 +49,7 @@ typedef struct _GtkAboutDialogPrivate GtkAboutDialogPrivate;
* developer
* @GTK_LICENSE_GPL_2_0: The GNU General Public License, version 2.0 or later
* @GTK_LICENSE_GPL_3_0: The GNU General Public License, version 3.0 or later
+ * @GTK_LICENSE_AGPL_3_0: The GNU Affero General Public License, version 3.0 or later. Since: 3.22
* @GTK_LICENSE_LGPL_2_1: The GNU Lesser General Public License, version 2.1 or later
* @GTK_LICENSE_LGPL_3_0: The GNU Lesser General Public License, version 3.0 or later
* @GTK_LICENSE_BSD: The BSD standard license
@@ -72,6 +73,8 @@ typedef enum {
GTK_LICENSE_GPL_2_0,
GTK_LICENSE_GPL_3_0,
+ GTK_LICENSE_AGPL_3_0,
+
GTK_LICENSE_LGPL_2_1,
GTK_LICENSE_LGPL_3_0,