Add Zero-Clause BSD license
This commit is contained in:
@@ -133,11 +133,12 @@ static const LicenseInfo gtk_license_info [] = {
|
||||
{ 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" }
|
||||
{ N_("Mozilla Public License 2.0"), "https://opensource.org/licenses/MPL-2.0" },
|
||||
{ N_("BSD Zero-Clause License"), "https://opensource.org/license/0bsd" }
|
||||
};
|
||||
/* Keep this static assertion updated with the last element of the
|
||||
* enumeration, and make sure it matches the last element of the array */
|
||||
G_STATIC_ASSERT (G_N_ELEMENTS (gtk_license_info) - 1 == GTK_LICENSE_MPL_2_0);
|
||||
G_STATIC_ASSERT (G_N_ELEMENTS (gtk_license_info) - 1 == GTK_LICENSE_0BSD);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
@@ -57,6 +57,7 @@ typedef struct _GtkAboutDialog GtkAboutDialog;
|
||||
* @GTK_LICENSE_BSD_3: The 3-clause BSD licence
|
||||
* @GTK_LICENSE_APACHE_2_0: The Apache License, version 2.0
|
||||
* @GTK_LICENSE_MPL_2_0: The Mozilla Public License, version 2.0
|
||||
* @GTK_LICENSE_0BSD: Zero-Clause BSD license
|
||||
*
|
||||
* The type of license for an application.
|
||||
*
|
||||
@@ -87,7 +88,8 @@ typedef enum {
|
||||
|
||||
GTK_LICENSE_BSD_3,
|
||||
GTK_LICENSE_APACHE_2_0,
|
||||
GTK_LICENSE_MPL_2_0
|
||||
GTK_LICENSE_MPL_2_0,
|
||||
GTK_LICENSE_0BSD
|
||||
} GtkLicense;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user