do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you

2008-06-23  Kristian Rietveld  <kris@imendio.com>

	* 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
This commit is contained in:
Kristian Rietveld 2008-06-23 12:09:15 +00:00 committed by Kristian Rietveld
parent 7dfaf81ee2
commit ed7d0ed47e
5 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2008-06-23 Kristian Rietveld <kris@imendio.com>
* 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 <mitch@imendio.com>
* gtk/gtkmountoperation.h

View File

@ -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 ***/

View File

@ -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 ***/

View File

@ -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 ***/

View File

@ -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 ***/