[pango/pango2-windows: 92/130] fontset: Use PANGO_DECLARE_INTERNAL_TYPE




commit e8893a1ea2aaed3c2c18490223aecbb478f57575
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 11 16:24:44 2022 -0400

    fontset: Use PANGO_DECLARE_INTERNAL_TYPE

 pango/pango-fontset.h | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/pango/pango-fontset.h b/pango/pango-fontset.h
index 9e5840a31..216979336 100644
--- a/pango/pango-fontset.h
+++ b/pango/pango-fontset.h
@@ -26,19 +26,10 @@
 
 G_BEGIN_DECLS
 
-/*
- * PangoFontset
- */
-
 #define PANGO_TYPE_FONTSET              (pango_fontset_get_type ())
-#define PANGO_FONTSET(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONTSET, 
PangoFontset))
-#define PANGO_IS_FONTSET(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONTSET))
-
 
 PANGO_AVAILABLE_IN_ALL
-GType pango_fontset_get_type (void) G_GNUC_CONST;
-
-typedef struct _PangoFontset        PangoFontset;
+PANGO_DECLARE_INTERNAL_TYPE (PangoFontset, pango_fontset, PANGO, FONTSET, GObject)
 
 /**
  * PangoFontsetForeachFunc:


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