[gthumb] gthumb.h: do not add the gthumb/ prefix



commit a81771377adbde6d026b88a2c1adeb99cee693a5
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Feb 7 12:23:55 2021 +0100

    gthumb.h: do not add the gthumb/ prefix

 gthumb/make-gthumb-h.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/make-gthumb-h.py b/gthumb/make-gthumb-h.py
index 4f3ded92..93b42c2a 100644
--- a/gthumb/make-gthumb-h.py
+++ b/gthumb/make-gthumb-h.py
@@ -9,10 +9,10 @@ if len(sys.argv) <= 3:
 
 infile = sys.argv[1]
 outfile = sys.argv[2]
-headers = "\n".join(map(lambda x: "#include <gthumb/{0}>".format(x), sys.argv[3:]))
+headers = "\n".join(map(lambda x: "#include <{0}>".format(x), sys.argv[3:]))
 
 with open(outfile, 'w') as to_file, open(infile) as from_file:
     for line in iter(from_file.readline, ''):
         if line == "@HEADERS@\n":
             line = headers + "\n"
-        to_file.write(line) 
+        to_file.write(line)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]