summaryrefslogtreecommitdiff
path: root/mate-screenshot/src/screenshot-utils.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-27 19:37:37 +0100
committerraveit65 <[email protected]>2020-12-07 11:11:59 +0100
commit930e1e9881e8aa3191899e82d3cc613fa12b9dc8 (patch)
tree054a1012d247c3ffe0ac272e77186fd2891cb0a0 /mate-screenshot/src/screenshot-utils.c
parent274ca0c1b8b68eee37205f8faae00295a07b5984 (diff)
downloadmate-utils-930e1e9881e8aa3191899e82d3cc613fa12b9dc8.tar.bz2
mate-utils-930e1e9881e8aa3191899e82d3cc613fa12b9dc8.tar.xz
GNU GPL 2 license notice without post box, after copyright notice
- Use always the same code snippet for including the top-level config.h
Diffstat (limited to 'mate-screenshot/src/screenshot-utils.c')
-rw-r--r--mate-screenshot/src/screenshot-utils.c30
1 files changed, 16 insertions, 14 deletions
diff --git a/mate-screenshot/src/screenshot-utils.c b/mate-screenshot/src/screenshot-utils.c
index 88095710..568c24c7 100644
--- a/mate-screenshot/src/screenshot-utils.c
+++ b/mate-screenshot/src/screenshot-utils.c
@@ -1,24 +1,26 @@
-/* screenshot-utils.c - common functions for MATE Screenshot
- *
- * Copyright (C) 2001-2006 Jonathan Blandford <[email protected]>
+/* Copyright (C) 2001-2006 Jonathan Blandford <[email protected]>
* Copyright (C) 2008 Cosimo Cecchi <[email protected]>
*
- * This program 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 2 of the License, or (at your option) any later version.
+ * This file is part of MATE Utils.
+ *
+ * MATE Utils 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 2 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
+ * MATE Utils 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.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * You should have received a copy of the GNU General Public License
+ * along with MATE Utils. If not, see <https://www.gnu.org/licenses/>.
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "screenshot-utils.h"
#include <X11/Xatom.h>