[gtk/jjardon/3_24_more_licenses] 3.24: gtk/gtkaboutdialog: Add some more very common licenses:
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/jjardon/3_24_more_licenses] 3.24: gtk/gtkaboutdialog: Add some more very common licenses:
- Date: Sun, 12 Apr 2020 12:12:24 +0000 (UTC)
commit adc2f4ad9e16a3529c03781b67ea9e28b8a3961c
Author: Javier Jardón <jjardon gnome org>
Date: Sat Apr 11 16:49:09 2020 +0100
3.24: gtk/gtkaboutdialog: Add some more very common licenses:
- BSD 3-Clause "New" or "Revised" license
- Apache License 2.0
- Mozilla Public License 2.0
gtk/gtkaboutdialog.c | 5 ++++-
gtk/gtkaboutdialog.h | 6 +++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 9a0017544a..8bfbdac52e 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -125,7 +125,10 @@ static const LicenseInfo gtk_license_info [] = {
{ 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 only"), "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" },
+ { N_("BSD 3-Clause License"), "https://opensource.org/licenses/BSD-3-Clause" },
+ { N_("Apache License, Version 2.0"), "https://opensource.org/licenses/Apache-2.0" },
+ { N_("Mozilla Public License 2.0"), "https://opensource.org/licenses/MPL-2.0" }
};
typedef struct
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h
index dd09882d31..aaa0155211 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -88,7 +88,11 @@ typedef enum {
GTK_LICENSE_LGPL_3_0_ONLY,
GTK_LICENSE_AGPL_3_0,
- GTK_LICENSE_AGPL_3_0_ONLY
+ GTK_LICENSE_AGPL_3_0_ONLY,
+
+ GTK_LICENSE_BSD_3,
+ GTK_LICENSE_APACHE_2_0,
+ GTK_LICENSE_MPL_2_0
} GtkLicense;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]