diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 20:36:00 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-04 17:28:40 -0400 |
commit | d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd (patch) | |
tree | 8d79daeb8f4254e319fede8bcc970f80cec83a2a /pango/pangocoretext.h | |
parent | 5112387e2c5d4e298d5781070b2f0749a2f7f005 (diff) | |
download | pango-d21ea13a22b1cab8c9cb604aa3fcd2ca8073befd.tar.gz |
Header cleanup
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE
defines. All backend-only apis are moved into private
headers, all apis that were engine-only are marked as
deprecated, since engines are.
Diffstat (limited to 'pango/pangocoretext.h')
-rw-r--r-- | pango/pangocoretext.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pango/pangocoretext.h b/pango/pangocoretext.h index 3bb9fcd6..8c850c3c 100644 --- a/pango/pangocoretext.h +++ b/pango/pangocoretext.h @@ -35,49 +35,6 @@ G_BEGIN_DECLS typedef struct _PangoCoreTextFont PangoCoreTextFont; typedef struct _PangoCoreTextFontClass PangoCoreTextFontClass; -#if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND) - -/** - * PANGO_RENDER_TYPE_CORE_TEXT: - * - * A string constant identifying the CoreText renderer. The associated quark (see - * g_quark_from_string()) is used to identify the renderer in pango_find_map(). - */ -#define PANGO_RENDER_TYPE_CORE_TEXT "PangoRenderCoreText" - -#ifdef PANGO_ENABLE_BACKEND - -#define PANGO_CORE_TEXT_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_CORE_TEXT_FONT, PangoCoreTextFontClass)) -#define PANGO_IS_CORE_TEXT_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_CORE_TEXT_FONT)) -#define PANGO_CORE_TEXT_FONT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_CORE_TEXT_FONT, PangoCoreTextFontClass)) - -typedef struct _PangoCoreTextFontPrivate PangoCoreTextFontPrivate; - -struct _PangoCoreTextFont -{ - PangoFont parent_instance; - PangoCoreTextFontPrivate *priv; -}; - -struct _PangoCoreTextFontClass -{ - PangoFontClass parent_class; - - /*< private >*/ - - /* Padding for future expansion */ - void (*_pango_reserved1) (void); - void (*_pango_reserved2) (void); - void (*_pango_reserved3) (void); - void (*_pango_reserved4) (void); -}; - -#endif /* PANGO_ENABLE_BACKEND */ - -PANGO_AVAILABLE_IN_1_24 -CTFontRef pango_core_text_font_get_ctfont (PangoCoreTextFont *font); - -#endif /* PANGO_ENABLE_ENGINE || PANGO_ENABLE_BACKEND */ PANGO_AVAILABLE_IN_ALL GType pango_core_text_font_get_type (void) G_GNUC_CONST; |