From ed7d0ed47ede155141bb8947a5f56f4d1f4603bd Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Mon, 23 Jun 2008 12:09:15 +0000 Subject: [PATCH] do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you 2008-06-23 Kristian Rietveld * gdk/gdkenumtypes.h.template: * gdk-pixbuf/gdk-pixbuf-enum-types.h.template: * gtk/gtktypebuiltins.h.template: * perf/typebuiltins.h.template: do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you need an up to date glib for this). svn path=/trunk/; revision=20674 --- ChangeLog | 8 ++++++++ gdk-pixbuf/gdk-pixbuf-enum-types.h.template | 2 +- gdk/gdkenumtypes.h.template | 2 +- gtk/gtktypebuiltins.h.template | 2 +- perf/typebuiltins.h.template | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b65014a64..46b737de4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-06-23 Kristian Rietveld + + * gdk/gdkenumtypes.h.template: + * gdk-pixbuf/gdk-pixbuf-enum-types.h.template: + * gtk/gtktypebuiltins.h.template: + * perf/typebuiltins.h.template: do not hard code the prefix of the + enum, use @ENUMPREFIX@ instead (you need an up to date glib for this). + 2008-06-23 Michael Natterer * gtk/gtkmountoperation.h diff --git a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template index 7cdf23376..4ecb7161d 100644 --- a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template +++ b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template @@ -18,7 +18,7 @@ G_BEGIN_DECLS /*** BEGIN value-header ***/ GType @enum_name@_get_type (void) G_GNUC_CONST; -#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) +#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) /*** END value-header ***/ /*** BEGIN file-tail ***/ diff --git a/gdk/gdkenumtypes.h.template b/gdk/gdkenumtypes.h.template index 5677106b2..85487f47f 100644 --- a/gdk/gdkenumtypes.h.template +++ b/gdk/gdkenumtypes.h.template @@ -18,7 +18,7 @@ G_BEGIN_DECLS /*** BEGIN value-header ***/ GType @enum_name@_get_type (void) G_GNUC_CONST; -#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) +#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) /*** END value-header ***/ /*** BEGIN file-tail ***/ diff --git a/gtk/gtktypebuiltins.h.template b/gtk/gtktypebuiltins.h.template index 0e9d9a6c8..9b2538dc1 100644 --- a/gtk/gtktypebuiltins.h.template +++ b/gtk/gtktypebuiltins.h.template @@ -18,7 +18,7 @@ G_BEGIN_DECLS /*** BEGIN value-header ***/ GType @enum_name@_get_type (void) G_GNUC_CONST; -#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) +#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) /*** END value-header ***/ /*** BEGIN file-tail ***/ diff --git a/perf/typebuiltins.h.template b/perf/typebuiltins.h.template index 26acc8368..ea31ae834 100644 --- a/perf/typebuiltins.h.template +++ b/perf/typebuiltins.h.template @@ -14,7 +14,7 @@ G_BEGIN_DECLS /*** BEGIN value-header ***/ GType @enum_name@_get_type (void) G_GNUC_CONST; -#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) +#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) /*** END value-header ***/ /*** BEGIN file-tail ***/ -- 2.43.2