summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-1-106
-rw-r--r--ChangeLog.pre-1-66
-rw-r--r--ChangeLog.pre-1-86
-rw-r--r--docs/pango-sections.txt1
-rw-r--r--pango/pango-types.h9
-rw-r--r--pango/pango-utils.c13
7 files changed, 47 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8886add8..71375f52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jul 13 16:23:15 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-types.h pango/pango-utils.c
+ docs/pango-sections.txt: Add a GType for PangoMatrix
+ (#145532, Torsten Schoenfeld)
+
Tue Jul 13 14:12:06 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-render.c (compare_points): Make
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 8886add8..71375f52 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,9 @@
+Tue Jul 13 16:23:15 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-types.h pango/pango-utils.c
+ docs/pango-sections.txt: Add a GType for PangoMatrix
+ (#145532, Torsten Schoenfeld)
+
Tue Jul 13 14:12:06 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-render.c (compare_points): Make
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 8886add8..71375f52 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,9 @@
+Tue Jul 13 16:23:15 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-types.h pango/pango-utils.c
+ docs/pango-sections.txt: Add a GType for PangoMatrix
+ (#145532, Torsten Schoenfeld)
+
Tue Jul 13 14:12:06 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-render.c (compare_points): Make
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 8886add8..71375f52 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,9 @@
+Tue Jul 13 16:23:15 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-types.h pango/pango-utils.c
+ docs/pango-sections.txt: Add a GType for PangoMatrix
+ (#145532, Torsten Schoenfeld)
+
Tue Jul 13 14:12:06 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-render.c (compare_points): Make
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index dd6a1c04..5a55d943 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -67,6 +67,7 @@ PANGO_DESCENT
PANGO_LBEARING
PANGO_RBEARING
PangoMatrix
+PANGO_TYPE_MATRIX
PANGO_MATRIX_INIT
pango_matrix_copy
pango_matrix_free
diff --git a/pango/pango-types.h b/pango/pango-types.h
index cf41ab6f..a8d2f448 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -84,6 +84,13 @@ struct _PangoMatrix
};
/**
+ * PANGO_TYPE_MATRIX
+ *
+ * The GObject type for #PangoMatrix
+ **/
+#define PANGO_TYPE_MATRIX (pango_matrix_get_type ())
+
+/**
* PANGO_MATRIX_INIT
*
* Constant that can be used to initialize a PangoMatrix to
@@ -96,6 +103,8 @@ struct _PangoMatrix
**/
#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }
+GType pango_matrix_get_type (void);
+
PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix);
void pango_matrix_free (PangoMatrix *matrix);
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