[pango/pango2: 74/178] fontset: Use PANGO_DECLARE_INTERNAL_TYPE
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 74/178] fontset: Use PANGO_DECLARE_INTERNAL_TYPE
- Date: Wed, 22 Jun 2022 20:10:14 +0000 (UTC)
commit 7f058f60ac6c1aa0d9334a366c23dbacccbbd4c4
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]