[pango/pango2: 85/135] fixup font
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 85/135] fixup font
- Date: Fri, 18 Feb 2022 20:11:01 +0000 (UTC)
commit 31410a44c601515ab4e975e752e9509abbe3edd0
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 17 18:21:09 2022 -0600
fixup font
pango/pango-font.h | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/pango/pango-font.h b/pango/pango-font.h
index a0fa50ce..075acd49 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -35,12 +35,9 @@ G_BEGIN_DECLS
#define PANGO_TYPE_FONT (pango_font_get_type ())
-#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
-#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
-
PANGO_AVAILABLE_IN_ALL
-GType pango_font_get_type (void) G_GNUC_CONST;
+PANGO_DECLARE_INTERNAL_TYPE (PangoFont, pango_font, PANGO, FONT, GObject)
PANGO_AVAILABLE_IN_ALL
PangoFontDescription *pango_font_describe (PangoFont *font);
@@ -137,8 +134,6 @@ PangoFont * pango_font_deserialize (PangoContext *context,
#endif
#endif
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFont, g_object_unref)
-
G_END_DECLS
#endif /* __PANGO_FONT_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]