summaryrefslogtreecommitdiff
path: root/gtk/gtktypebuiltins.h.template
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-11-26 17:32:19 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-11-26 17:32:19 +0000
commit736f86b303eab2c8cec5a5817c5c07628b4704d5 (patch)
tree5ed7bde92b521bc857f559ea9d9ca942883882e9 /gtk/gtktypebuiltins.h.template
parentd5eb6847e58cd6276aa4cb68d31225c02f0c21ac (diff)
downloadgtk+-736f86b303eab2c8cec5a5817c5c07628b4704d5.tar.gz
Use templates for glib-mkenums calls instead of complicated commandlines
2007-11-26 Matthias Clasen <mclasen@redhat.com> Use templates for glib-mkenums calls instead of complicated commandlines in Makefiles. (#429910) * gdk-pixbuf/Makefile.am: * gdk/Makefile.am: * gtk/Makefile.am: * perf/Makefile.am: Use templates for glib-mkenums * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template: * gdk/gdkenumtypes.[ch].template: * gtk/gtktypebuiltings.[ch].template: * perf/typebuiltins.[ch].template: The templates svn path=/trunk/; revision=19053
Diffstat (limited to 'gtk/gtktypebuiltins.h.template')
-rw-r--r--gtk/gtktypebuiltins.h.template24
1 files changed, 24 insertions, 0 deletions
diff --git a/gtk/gtktypebuiltins.h.template b/gtk/gtktypebuiltins.h.template
new file mode 100644
index 0000000000..8c45c84dbc
--- /dev/null
+++ b/gtk/gtktypebuiltins.h.template
@@ -0,0 +1,24 @@
+/*** BEGIN file-header ***/
+#ifndef __GTK_TYPE_BUILTINS_H__
+#define __GTK_TYPE_BUILTINS_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+/*** END file-header ***/
+
+/*** BEGIN file-production ***/
+
+/* enumerations from "@filename@" */
+/*** END file-production ***/
+
+/*** BEGIN value-header ***/
+GType @enum_name@_get_type (void) G_GNUC_CONST;
+#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
+/*** END value-header ***/
+
+/*** BEGIN file-tail ***/
+G_END_DECLS
+
+#endif /* __GTK_TYPE_BUILTINS_H__ */
+/*** END file-tail ***/