summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 7ff41fdb..2867e269 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -987,6 +987,19 @@ pango_parse_stretch (const char *str,
return FALSE;
}
+GType
+pango_matrix_get_type (void)
+{
+ static GType our_type = 0;
+
+ if (our_type == 0)
+ our_type = g_boxed_type_register_static ("PangoMatrix",
+ (GBoxedCopyFunc) pango_matrix_copy,
+ (GBoxedFreeFunc) pango_matrix_free);
+
+ return our_type;
+}
+
/**
* pango_matrix_copy:
* @matrix: a #PangoMatrix