diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-09 16:36:20 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-09 16:36:20 +0000 |
commit | add14c9ef41f99a27ecd2305d97a78d1966e052b (patch) | |
tree | a85f63d7a18901b0ec04dfe78f699147faf98a1c /gdk-pixbuf/Makefile.am | |
parent | 89cfdce4e6eb52cd3e356a253e4613cdfbf46c55 (diff) | |
download | gtk+-add14c9ef41f99a27ecd2305d97a78d1966e052b.tar.gz |
Include glib-object.h, Add G_BEGIN_DECLS/END_DECLS to
Wed Jan 9 11:29:44 2002 Owen Taylor <otaylor@redhat.com>
* Makefile.am (s-enum-types-h): Include glib-object.h,
Add G_BEGIN_DECLS/END_DECLS to gdk-pixbuf-enum-types.h. (#68325,
Mikael Hermansson)
* *.h: G_BEGIN_DECLS cleanups.
Diffstat (limited to 'gdk-pixbuf/Makefile.am')
-rw-r--r-- | gdk-pixbuf/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am index 8f5062f52f..527c1d1656 100644 --- a/gdk-pixbuf/Makefile.am +++ b/gdk-pixbuf/Makefile.am @@ -290,10 +290,10 @@ $(srcdir)/gdk-pixbuf-enum-types.h: s-enum-types-h s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile ( cd $(srcdir) && glib-mkenums \ - --fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n" \ + --fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ --fprod "/* enumerations from \"@filename@\" */\n" \ --vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ - --ftail "#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \ + --ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \ $(gdk_pixbuf_headers) ) > tmp-gdk-pixbuf-enum-types.h \ && (cmp -s tmp-gdk-pixbuf-enum-types.h $(srcdir)/gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h $(srcdir)/gdk-pixbuf-enum-types.h ) \ && rm -f tmp-gdk-pixbuf-enum-types.h \ |