From 4b3af864cbe5027ed14b6956b29ee71d06b4c3d5 Mon Sep 17 00:00:00 2001 From: Harishankar Date: Mon, 11 May 2020 22:21:45 +0530 Subject: [PATCH] Fixed license Fixed the license text as GTK_LICENSE_BSD_3 does not work properly in GTK --- constantstrings.h | 2 ++ wordblah_player.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/constantstrings.h b/constantstrings.h index 8c4c888..8dd4582 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -2,6 +2,8 @@ #define __CONSTANTSTRINGS_H #define VERSION "0.1a" +#define LICENSE_BSD "Licensed under the BSD 3-clause license \ +https://opensource.org/licenses/BSD-3-Clause" #define FROZEN_GRID "Grid is frozen. Unfreeze grid first!" #define UNFROZEN_GRID "Grid is unfrozen. Freeze grid first!" #define EXCEED_GRID_SIZE "Row/col exceeded grid size!" diff --git a/wordblah_player.c b/wordblah_player.c index e1c039f..58541f5 100644 --- a/wordblah_player.c +++ b/wordblah_player.c @@ -689,7 +689,8 @@ void on_menu_about_activate (GtkMenuItem *item, gpointer data) "comments", COMMENTS, "website", WEBSITE, "website-label", WEBSITE_LABEL, - "license-type", GTK_LICENSE_BSD_3, + "license-type", GTK_LICENSE_CUSTOM, + "license", LICENSE_BSD "version", VERSION, (char*)NULL); } -- 2.20.1