summaryrefslogtreecommitdiff
path: root/pango/pango-impl-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-impl-utils.h')
-rw-r--r--pango/pango-impl-utils.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/pango/pango-impl-utils.h b/pango/pango-impl-utils.h
index 6d6c8ff2..da3ef1cb 100644
--- a/pango/pango-impl-utils.h
+++ b/pango/pango-impl-utils.h
@@ -29,52 +29,6 @@
G_BEGIN_DECLS
-#define PANGO_DEFINE_TYPE_FULL(name, prefix, \
- class_init, instance_init, \
- parent_type, abstract) \
-GType \
-prefix ## _get_type (void) \
-{ \
- static GType object_type = 0; \
- \
- if (!object_type) \
- { \
- static const GTypeInfo object_info = \
- { \
- sizeof (name ## Class), \
- (GBaseInitFunc) NULL, \
- (GBaseFinalizeFunc) NULL, \
- (GClassInitFunc) class_init, \
- (GClassFinalizeFunc) NULL, \
- NULL, /* class_data */ \
- sizeof (name), \
- 0, /* n_prelocs */ \
- (GInstanceInitFunc) instance_init, \
- NULL /* value_table */ \
- }; \
- \
- object_type = g_type_register_static (parent_type, \
- g_intern_static_string (# name), \
- &object_info, abstract); \
- } \
- \
- return object_type; \
-}
-
-#define PANGO_DEFINE_TYPE(name, prefix, \
- class_init, instance_init, \
- parent_type) \
- PANGO_DEFINE_TYPE_FULL (name, prefix, \
- class_init, instance_init, \
- parent_type, 0)
-
-#define PANGO_DEFINE_TYPE_ABSTRACT(name, prefix, \
- class_init, instance_init, \
- parent_type) \
- PANGO_DEFINE_TYPE_FULL (name, prefix, \
- class_init, instance_init, \
- parent_type, G_TYPE_FLAG_ABSTRACT)
-
/* String interning for static strings */
#define I_(string) g_intern_static_string (string)