[gtk/jjardon/more_licenses] gtk/gtkaboutdialog: Add some more very common licenses:



commit ffa345e4ab00d5fc9a421becf3079a240a888bb9
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Apr 11 16:49:09 2020 +0100

    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 ad1b59e5af..c3ce0403cb 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -130,7 +130,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 561b09f489..5d0e560840 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -81,7 +81,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]