[pango/pango2: 84/135] font-face: fixup




commit 1cae27f3dbf37f3590000a7edc17979de7a94702
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 17 18:00:40 2022 -0600

    font-face: fixup

 pango/pango-font-face.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/pango/pango-font-face.h b/pango/pango-font-face.h
index 4abf4a2e..33853713 100644
--- a/pango/pango-font-face.h
+++ b/pango/pango-font-face.h
@@ -28,12 +28,9 @@ G_BEGIN_DECLS
 
 
 #define PANGO_TYPE_FONT_FACE              (pango_font_face_get_type ())
-#define PANGO_FONT_FACE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, 
PangoFontFace))
-#define PANGO_IS_FONT_FACE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
-
 
 PANGO_AVAILABLE_IN_ALL
-GType                   pango_font_face_get_type       (void) G_GNUC_CONST;
+PANGO_DECLARE_INTERNAL_TYPE (PangoFontFace, pango_font_face, PANGO, FONT_FACE, GObject)
 
 PANGO_AVAILABLE_IN_ALL
 PangoFontDescription *  pango_font_face_describe       (PangoFontFace  *face);
@@ -46,6 +43,4 @@ PANGO_AVAILABLE_IN_1_46
 PangoFontFamily *       pango_font_face_get_family     (PangoFontFace  *face);
 
 
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFace, g_object_unref)
-
 G_END_DECLS


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