summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-10-13 17:23:39 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-10-13 17:23:39 +0000
commit1bf9a4e3b3581537435bf87534a325556b8f470f (patch)
tree11cac42ab8e11ff8cb74ed670bf247490083f589
parent6bed9d56b66a461f1cdc4b672ce10bc39a88baca (diff)
downloadpango-1bf9a4e3b3581537435bf87534a325556b8f470f.tar.gz
Make TypeInfo structs not static. Reduces relocations.
2006-10-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-info.c (pango_ot_info_get_type): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type): * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type), (pango_atsui_face_get_type): * pango/pangocairo-font.c (pango_cairo_font_get_type): * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_type): * pango/pangofc-fontmap.c (pango_fc_face_get_type), (pango_fc_family_get_type): * pango/pangowin32-fontmap.c (pango_win32_family_get_type), (pango_win32_face_get_type): * pango/pangox-fontmap.c (pango_x_font_map_get_type), (pango_x_face_get_type), (pango_x_family_get_type): * pango/pangox.c (pango_x_font_get_type): Make TypeInfo structs not static. Reduces relocations.
-rw-r--r--ChangeLog17
-rw-r--r--pango/pango-ot-info.c2
-rw-r--r--pango/pango-ot-ruleset.c2
-rw-r--r--pango/pangoatsui-fontmap.c4
-rw-r--r--pango/pangocairo-font.c2
-rw-r--r--pango/pangocairo-fontmap.c2
-rw-r--r--pango/pangofc-fontmap.c4
-rw-r--r--pango/pangowin32-fontmap.c4
-rw-r--r--pango/pangox-fontmap.c6
-rw-r--r--pango/pangox.c2
10 files changed, 31 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 4760a990..96f28181 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2006-10-13 Behdad Esfahbod <behdad@gnome.org>
+ * pango/pango-ot-info.c (pango_ot_info_get_type):
+ * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type):
+ * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type),
+ (pango_atsui_face_get_type):
+ * pango/pangocairo-font.c (pango_cairo_font_get_type):
+ * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_type):
+ * pango/pangofc-fontmap.c (pango_fc_face_get_type),
+ (pango_fc_family_get_type):
+ * pango/pangowin32-fontmap.c (pango_win32_family_get_type),
+ (pango_win32_face_get_type):
+ * pango/pangox-fontmap.c (pango_x_font_map_get_type),
+ (pango_x_face_get_type), (pango_x_family_get_type):
+ * pango/pangox.c (pango_x_font_get_type):
+ Make TypeInfo structs not static. Reduces relocations.
+
+2006-10-13 Behdad Esfahbod <behdad@gnome.org>
+
Bug 361938 – Can't include *-lang modules (./configure
--with-included-modules fails)
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 2eebc5f1..fa3dd5f4 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -44,7 +44,7 @@ pango_ot_info_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoOTInfoClass),
(GBaseInitFunc) NULL,
diff --git a/pango/pango-ot-ruleset.c b/pango/pango-ot-ruleset.c
index 449dfd0b..260f9034 100644
--- a/pango/pango-ot-ruleset.c
+++ b/pango/pango-ot-ruleset.c
@@ -46,7 +46,7 @@ pango_ot_ruleset_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoOTRulesetClass),
(GBaseInitFunc) NULL,
diff --git a/pango/pangoatsui-fontmap.c b/pango/pangoatsui-fontmap.c
index 059731da..6f271dcc 100644
--- a/pango/pangoatsui-fontmap.c
+++ b/pango/pangoatsui-fontmap.c
@@ -200,7 +200,7 @@ pango_atsui_family_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFamilyClass),
(GBaseInitFunc) NULL,
@@ -319,7 +319,7 @@ pango_atsui_face_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFaceClass),
(GBaseInitFunc) NULL,
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index 412d3302..ff05dd45 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -36,7 +36,7 @@ pango_cairo_font_get_type (void)
if (! cairo_font_type)
{
- static const GTypeInfo cairo_font_info =
+ const GTypeInfo cairo_font_info =
{
sizeof (PangoCairoFontIface), /* class_size */
NULL, /* base_init */
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 28a5a961..3260c2a6 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -40,7 +40,7 @@ pango_cairo_font_map_get_type (void)
if (! cairo_font_map_type)
{
- static const GTypeInfo cairo_font_map_info =
+ const GTypeInfo cairo_font_map_info =
{
sizeof (PangoCairoFontMapIface), /* class_size */
NULL, /* base_init */
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index f77b0338..2baa4e4d 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1842,7 +1842,7 @@ pango_fc_face_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFaceClass),
(GBaseInitFunc) NULL,
@@ -1970,7 +1970,7 @@ pango_fc_family_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFamilyClass),
(GBaseInitFunc) NULL,
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index e0073a23..ad140b72 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -398,7 +398,7 @@ pango_win32_family_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFamilyClass),
(GBaseInitFunc) NULL,
@@ -1042,7 +1042,7 @@ pango_win32_face_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFaceClass),
(GBaseInitFunc) NULL,
diff --git a/pango/pangox-fontmap.c b/pango/pangox-fontmap.c
index 45637b6b..4cbf06a8 100644
--- a/pango/pangox-fontmap.c
+++ b/pango/pangox-fontmap.c
@@ -180,7 +180,7 @@ pango_x_font_map_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontMapClass),
(GBaseInitFunc) NULL,
@@ -1493,7 +1493,7 @@ pango_x_face_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFaceClass),
(GBaseInitFunc) NULL,
@@ -1652,7 +1652,7 @@ pango_x_family_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoFontFamilyClass),
(GBaseInitFunc) NULL,
diff --git a/pango/pangox.c b/pango/pangox.c
index a9f0b3b1..40947d4a 100644
--- a/pango/pangox.c
+++ b/pango/pangox.c
@@ -229,7 +229,7 @@ pango_x_font_get_type (void)
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (PangoXFontClass),
(GBaseInitFunc) NULL,