[gtk/gtk-3-22] Add AGPL3-only licence to GtkAboutDialog
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-22] Add AGPL3-only licence to GtkAboutDialog
- Date: Sun, 11 Feb 2018 14:23:08 +0000 (UTC)
commit 4f962c6dbfabe361bca2f0ff75d1daaf1c7af66c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun Jan 28 14:40:58 2018 +0000
Add AGPL3-only licence to GtkAboutDialog
https://bugzilla.gnome.org/show_bug.cgi?id=792793
gtk/gtkaboutdialog.c | 5 +++--
gtk/gtkaboutdialog.h | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 885a7d732d..fe4ae24b55 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -124,7 +124,8 @@ static const LicenseInfo gtk_license_info [] = {
{ N_("GNU General Public License, version 3 only"), "https://www.gnu.org/licenses/gpl-3.0.html"; },
{ N_("GNU Lesser General Public License, version 2.1 only"),
"https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"; },
{ N_("GNU Lesser General Public License, version 3 only"), "https://www.gnu.org/licenses/lgpl-3.0.html"; },
- { N_("GNU Affero General Public License, version 3 or later"),
"https://www.gnu.org/licenses/agpl-3.0.html"; }
+ { N_("GNU Affero General Public License, version 3 or later"),
"https://www.gnu.org/licenses/agpl-3.0.html"; },
+ { N_("GNU Affero General Public License, version 3 only"), "https://www.gnu.org/licenses/agpl-3.0.html"; }
};
typedef struct
@@ -2459,7 +2460,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_AGPL_3_0);
+ license_type <= GTK_LICENSE_AGPL_3_0_ONLY);
priv = about->priv;
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h
index d00ea09134..dd09882d31 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -59,6 +59,7 @@ typedef struct _GtkAboutDialogPrivate GtkAboutDialogPrivate;
* @GTK_LICENSE_LGPL_2_1_ONLY: The GNU Lesser General Public License, version 2.1 only. Since 3.12.
* @GTK_LICENSE_LGPL_3_0_ONLY: The GNU Lesser General Public License, version 3.0 only. Since 3.12.
* @GTK_LICENSE_AGPL_3_0: The GNU Affero General Public License, version 3.0 or later. Since: 3.22.
+ * @GTK_LICENSE_AGPL_3_0_ONLY: The GNU Affero General Public License, version 3.0 only. Since: 3.22.27.
*
* The type of license for an application.
*
@@ -86,7 +87,8 @@ typedef enum {
GTK_LICENSE_LGPL_2_1_ONLY,
GTK_LICENSE_LGPL_3_0_ONLY,
- GTK_LICENSE_AGPL_3_0
+ GTK_LICENSE_AGPL_3_0,
+ GTK_LICENSE_AGPL_3_0_ONLY
} GtkLicense;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]