From ba138ec9e01ef7c7fb3b583c4babd24cfa5cd69e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 8 Oct 2006 19:02:52 +0000 Subject: Fix a bug in the last commit. 2006-10-08 Christian Persch * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix a bug in the last commit. --- lib/Makefile.am | 2 +- lib/egg/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index ead91012c..926411f50 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -137,7 +137,7 @@ stamp-ephy-lib-type-builtins.c: $(TYPES_H_FILES) --vhead "GType\n@enum_name@_get_type (void)\n{\n" \ --vhead " static GType type = 0;\n\n" \ --vhead " if (G_UNLIKELY (type == 0))\n {\n" \ - --vhead " const G@Type@Value _@enum_name@_values[] = {" \ + --vhead " static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n\n" \ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n }\n\n" \ diff --git a/lib/egg/Makefile.am b/lib/egg/Makefile.am index 5fd72a051..ae1d23c8d 100644 --- a/lib/egg/Makefile.am +++ b/lib/egg/Makefile.am @@ -67,7 +67,7 @@ stamp-eggtypebuiltins.c: $(EGGHEADERS) --vhead "GType\n@enum_name@_get_type (void)\n{\n" \ --vhead " static GType type = 0;\n\n" \ --vhead " if (G_UNLIKELY (type == 0))\n {\n" \ - --vhead " const G@Type@Value _@enum_name@_values[] = {" \ + --vhead " static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n\n" \ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n }\n\n" \ -- cgit