[pango/pango2: 81/135] font-family: fixup




commit 47a9ffd9d485e2da80976be8512f3f26b1fbd971
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 17 18:10:23 2022 -0600

    font-family: fixup

 pango/pango-font-family.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/pango/pango-font-family.h b/pango/pango-font-family.h
index 95ae422b..06347c7b 100644
--- a/pango/pango-font-family.h
+++ b/pango/pango-font-family.h
@@ -30,11 +30,9 @@ G_BEGIN_DECLS
 
 
 #define PANGO_TYPE_FONT_FAMILY              (pango_font_family_get_type ())
-#define PANGO_FONT_FAMILY(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, 
PangoFontFamily))
-#define PANGO_IS_FONT_FAMILY(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
 
 PANGO_AVAILABLE_IN_ALL
-GType                   pango_font_family_get_type      (void) G_GNUC_CONST;
+PANGO_DECLARE_INTERNAL_TYPE (PangoFontFamily, pango_font_family, PANGO, FONT_FAMILY, GObject)
 
 PANGO_AVAILABLE_IN_ALL
 const char *            pango_font_family_get_name      (PangoFontFamily  *family) G_GNUC_PURE;
@@ -47,7 +45,4 @@ PANGO_AVAILABLE_IN_1_46
 PangoFontFace *         pango_font_family_get_face      (PangoFontFamily  *family,
                                                          const char       *name);
 
-
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFamily, g_object_unref)
-
 G_END_DECLS


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