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:
committed by
Kristian Rietveld
parent
7dfaf81ee2
commit
ed7d0ed47e
@ -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 ***/
|
||||
|
||||
Reference in New Issue
Block a user