[mutter] core: Don't show copyright when printing version
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] core: Don't show copyright when printing version
- Date: Tue, 9 Feb 2021 08:06:47 +0000 (UTC)
commit 7a75c7ea1fbc8cb672c24b7036710cbb4cbe2918
Author: Björn Daase <bjoern daase net>
Date: Sun Feb 7 12:48:20 2021 +0100
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>
src/core/mutter.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/core/mutter.c b/src/core/mutter.c
index 389d99199f..c6dd2e75b1 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]