aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-15 17:43:39 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-15 17:43:39 +0200
commit8a9af01a658e844c83ba16d3d0dc1b8ab882af55 (patch)
tree04f9af8d08278d02c095a721dfa2ee2198ab69d5
parente2f1d492f3d50c7f02b0fdebec5057af45cffc43 (diff)
Use license_type in about box
-rw-r--r--src/colloquium.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/colloquium.c b/src/colloquium.c
index ea55c20..de093e8 100644
--- a/src/colloquium.c
+++ b/src/colloquium.c
@@ -110,22 +110,7 @@ static void about_sig(GSimpleAction *action, GVariant *parameter, gpointer vp)
gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(window),
/* Description of the program */
_("Narrative-based presentation system"));
- gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(window),
- "© 2017-2018 Thomas White <taw@bitwiz.me.uk>\n"
- "\n"
- "Colloquium is free software: you can redistribute it and/or modify "
- "it under the terms of the GNU General Public License as published by "
- "the Free Software Foundation, either version 3 of the License, or "
- "(at your option) any later version.\n"
- "\n"
- "This program is distributed in the hope that it will be useful, "
- "but WITHOUT ANY WARRANTY; without even the implied warranty of "
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
- "GNU General Public License for more details.\n"
- "\n"
- "You should have received a copy of the GNU General Public License "
- "along with this program. If not, see <http://www.gnu.org/licenses/>.\n");
- gtk_about_dialog_set_wrap_license(GTK_ABOUT_DIALOG(window), TRUE);
+ gtk_about_dialog_set_license_type(GTK_ABOUT_DIALOG(window), GTK_LICENSE_GPL_3_0);
gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(window),
"https://www.bitwiz.me.uk/");
gtk_about_dialog_set_website_label(GTK_ABOUT_DIALOG(window),