[pango/simple-fontmap: 8/16] fontsetsimple: Make internally accessible




commit ad455be7fd899d0983dde3a187ccb86d54cfe26b
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 23 10:40:53 2021 -0500

    fontsetsimple: Make internally accessible

 pango/pango-fontset-private.h | 14 ++++++++++++++
 pango/pango-fontset.c         | 13 -------------
 2 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/pango/pango-fontset-private.h b/pango/pango-fontset-private.h
index 717af7d2..4063b7ed 100644
--- a/pango/pango-fontset-private.h
+++ b/pango/pango-fontset-private.h
@@ -30,6 +30,20 @@
 
 G_BEGIN_DECLS
 
+struct _PangoFontsetSimple
+{
+  PangoFontset parent_instance;
+
+  GPtrArray *fonts;
+  GPtrArray *coverages;
+  PangoLanguage *language;
+};
+
+struct _PangoFontsetSimpleClass
+{
+  PangoFontsetClass parent_class;
+};
+
 G_END_DECLS
 
 #endif /* __PANGO_FONTSET_PRIVATE_H__ */
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index b8c15152..0753fb5e 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -216,19 +216,6 @@ static void              pango_fontset_simple_foreach      (PangoFontset
                                                            PangoFontsetForeachFunc  func,
                                                            gpointer                 data);
 
-struct _PangoFontsetSimple
-{
-  PangoFontset parent_instance;
-
-  GPtrArray *fonts;
-  GPtrArray *coverages;
-  PangoLanguage *language;
-};
-
-struct _PangoFontsetSimpleClass
-{
-  PangoFontsetClass parent_class;
-};
 
 /**
  * pango_fontset_simple_new:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]