summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Daase <bjoern@daase.net>2021-02-07 12:48:20 +0100
committerMarge Bot <marge-bot@gnome.org>2021-02-09 07:46:10 +0000
commit7a75c7ea1fbc8cb672c24b7036710cbb4cbe2918 (patch)
tree352669d062636db2985b51846d780df15b1eccfb
parentc60cba4eeb4ba24b8fa6e736bb05e2a8e2a703e3 (diff)
downloadmutter-7a75c7ea1fbc8cb672c24b7036710cbb4cbe2918.tar.gz
core: Don't show copyright when printing version
Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/86 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1702>
-rw-r--r--src/core/mutter.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/mutter.c b/src/core/mutter.c
index 389d99199..c6dd2e75b 100644
--- a/src/core/mutter.c
+++ b/src/core/mutter.c
@@ -33,13 +33,7 @@ print_version (const gchar *option_name,
gpointer data,
GError **error)
{
- const int latest_year = 2011;
-
- g_print (_("mutter %s\n"
- "Copyright © 2001-%d Havoc Pennington, Red Hat, Inc., and others\n"
- "This is free software; see the source for copying conditions.\n"
- "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"),
- VERSION, latest_year);
+ g_print ("mutter %s\n", VERSION);
exit (0);
}