[pango/pango2: 36/68] fontset: Use PANGO_DECLARE_INTERNAL_TYPE




commit afa9eb9f0b895c2dec87f5448d7e06281d76b5c8
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]