[gtk/enum-template-basename] Use @basename@ in enumeration type templates



commit 4040f76529bbf6d3310a71df2d37c9d95af83892
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 4 14:02:45 2019 +0100

    Use @basename@ in enumeration type templates
    
    The @filename@ directive will use the full path of the file being parsed
    for enumeration types; we should use @basename@, instead, as it improves
    the reproducibility of the build by using only the file name.

 gdk/gdkenumtypes.c.template           | 2 +-
 gdk/gdkenumtypes.h.template           | 2 +-
 gsk/gskenumtypes.c.template           | 2 +-
 gsk/gskenumtypes.h.template           | 2 +-
 gtk/gtkprivatetypebuiltins.c.template | 2 +-
 gtk/gtkprivatetypebuiltins.h.template | 2 +-
 gtk/gtktypebuiltins.c.template        | 2 +-
 gtk/gtktypebuiltins.h.template        | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gdk/gdkenumtypes.c.template b/gdk/gdkenumtypes.c.template
index dcafd8d251..5237d549ab 100644
--- a/gdk/gdkenumtypes.c.template
+++ b/gdk/gdkenumtypes.c.template
@@ -5,7 +5,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gdk/gdkenumtypes.h.template b/gdk/gdkenumtypes.h.template
index 0bc4a71033..d6f62480bc 100644
--- a/gdk/gdkenumtypes.h.template
+++ b/gdk/gdkenumtypes.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gsk/gskenumtypes.c.template b/gsk/gskenumtypes.c.template
index 430ea8fd26..5aa13fe70e 100644
--- a/gsk/gskenumtypes.c.template
+++ b/gsk/gskenumtypes.c.template
@@ -6,7 +6,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gsk/gskenumtypes.h.template b/gsk/gskenumtypes.h.template
index 15a8ac6525..76d76b2864 100644
--- a/gsk/gskenumtypes.h.template
+++ b/gsk/gskenumtypes.h.template
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gtk/gtkprivatetypebuiltins.c.template b/gtk/gtkprivatetypebuiltins.c.template
index db65d1efd6..44af1bc9dd 100644
--- a/gtk/gtkprivatetypebuiltins.c.template
+++ b/gtk/gtkprivatetypebuiltins.c.template
@@ -7,7 +7,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gtk/gtkprivatetypebuiltins.h.template b/gtk/gtkprivatetypebuiltins.h.template
index a21e9aac05..5ecd4d392f 100644
--- a/gtk/gtkprivatetypebuiltins.h.template
+++ b/gtk/gtkprivatetypebuiltins.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gtk/gtktypebuiltins.c.template b/gtk/gtktypebuiltins.c.template
index fbd21db368..38aaaccbd6 100644
--- a/gtk/gtktypebuiltins.c.template
+++ b/gtk/gtktypebuiltins.c.template
@@ -6,7 +6,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gtk/gtktypebuiltins.h.template b/gtk/gtktypebuiltins.h.template
index 6a2c32013c..3dc9f834bf 100644
--- a/gtk/gtktypebuiltins.h.template
+++ b/gtk/gtktypebuiltins.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/


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