[monet] [enums] fix mn-enum-types.{c,h} generation



commit ade9c45a74b7a32695fb348cad4444042b9e203f
Author: Thomas Wood <thos gnome org>
Date:   Tue Aug 11 23:52:09 2009 +0100

    [enums] fix mn-enum-types.{c,h} generation

 monet/Makefile.am        |    4 ++--
 monet/mn-enum-types.h.in |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/monet/Makefile.am b/monet/Makefile.am
index 3e49f42..522eb0b 100644
--- a/monet/Makefile.am
+++ b/monet/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS = $(MONET_CFLAGS) -Wall
+AM_CFLAGS = $(MONET_CFLAGS) -Wall -DMONET_COMPILATION
 
 BUILT_SOURCES = \
 	mn-enum-types.h \
@@ -8,8 +8,8 @@ STAMP_FILES = \
 	stamp-mn-enum-types.h
 
 source_h = \
-	mn-parts.h \
 	mn-types.h \
+	mn-parts.h \
 	mn-widget.h \
 	monet.h
 
diff --git a/monet/mn-enum-types.h.in b/monet/mn-enum-types.h.in
index c7d1b6c..ef5be3c 100644
--- a/monet/mn-enum-types.h.in
+++ b/monet/mn-enum-types.h.in
@@ -1,10 +1,10 @@
 /*** BEGIN file-header ***/
-#if !defined(NBTK_H_INSIDE) && !defined(NBTK_COMPILATION)
-#error "Only <monet/monet.h> can be included directly.h"
+#if !defined(MONET_H_INSIDE) && !defined(MONET_COMPILATION)
+#error "Only <monet/monet.h> can be included directly"
 #endif
 
-#ifndef __NBTK_ENUM_TYPES_H__
-#define __NBTK_ENUM_TYPES_H__
+#ifndef __MONET_ENUM_TYPES_H__
+#define __MONET_ENUM_TYPES_H__
 
 #include <glib-object.h>
 
@@ -19,11 +19,11 @@ G_BEGIN_DECLS
 /*** BEGIN file-tail ***/
 G_END_DECLS
 
-#endif /* !__NBTK_ENUM_TYPES_H__ */
+#endif /* !__MONET_ENUM_TYPES_H__ */
 /*** END file-tail ***/
 
 /*** BEGIN value-header ***/
 GType @enum_name _get_type (void) G_GNUC_CONST;
-#define NBTK_TYPE_ ENUMSHORT@ (@enum_name _get_type())
+#define MONET_TYPE_ ENUMSHORT@ (@enum_name _get_type())
 
 /*** END value-header ***/



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