summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2017-03-06 22:13:53 +0200
committerErnestas Kulik <ernestask@gnome.org>2017-03-07 12:14:56 +0200
commitb632f52c15fe1fbf35a86c48925f5ba0eb7c23a1 (patch)
treef64d94a69ebcdc426fb67722bc9b30242d0d91cf
parentdc57c21448157c696bbe1315d2b7d7e5d3b9a180 (diff)
downloadnautilus-b632f52c15fe1fbf35a86c48925f5ba0eb7c23a1.tar.gz
general: remove private enum type description templates
These are leftovers from the libnautilus-private merge that are no longer used. https://bugzilla.gnome.org/show_bug.cgi?id=779667
-rw-r--r--src/nautilus-private-enum-types.c.template40
-rw-r--r--src/nautilus-private-enum-types.h.template27
2 files changed, 0 insertions, 67 deletions
diff --git a/src/nautilus-private-enum-types.c.template b/src/nautilus-private-enum-types.c.template
deleted file mode 100644
index 4acb2d8a8..000000000
--- a/src/nautilus-private-enum-types.c.template
+++ /dev/null
@@ -1,40 +0,0 @@
-/*** BEGIN file-header ***/
-#include "nautilus-private-enum-types.h"
-
-/*** END file-header ***/
-
-/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
-#include "@filename@"
-
-/*** END file-production ***/
-
-/*** BEGIN value-header ***/
-GType
-@enum_name@_get_type (void)
-{
- static GType the_type = 0;
-
- if (the_type == 0)
- {
- static const G@Type@Value values[] = {
-/*** END value-header ***/
-
-/*** BEGIN value-production ***/
- { @VALUENAME@,
- "@VALUENAME@",
- "@valuenick@" },
-/*** END value-production ***/
-
-/*** BEGIN value-tail ***/
- { 0, NULL, NULL }
- };
- the_type = g_@type@_register_static (
- g_intern_static_string ("@EnumName@"),
- values);
- }
- return the_type;
-}
-
-/*** END value-tail ***/
-
diff --git a/src/nautilus-private-enum-types.h.template b/src/nautilus-private-enum-types.h.template
deleted file mode 100644
index c4dbbe7b6..000000000
--- a/src/nautilus-private-enum-types.h.template
+++ /dev/null
@@ -1,27 +0,0 @@
-/*** BEGIN file-header ***/
-#ifndef __NAUTILUS_PRIVATE_ENUM_TYPES_H__
-#define __NAUTILUS_PRIVATE_ENUM_TYPES_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-/*** END file-header ***/
-
-/*** BEGIN file-production ***/
-/* Enumerations from "@filename@" */
-
-/*** END file-production ***/
-
-/*** BEGIN enumeration-production ***/
-#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
-GType @enum_name@_get_type (void) G_GNUC_CONST;
-
-/*** END enumeration-production ***/
-
-/*** BEGIN file-tail ***/
-G_END_DECLS
-
-#endif /* __NAUTILUS_PRIVATE_ENUM_TYPES_H__ */
-/*** END file-tail ***/
-