[pango/pango2: 39/61] Keep pango_fontset_get_language private
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 39/61] Keep pango_fontset_get_language private
- Date: Tue, 14 Jun 2022 02:03:00 +0000 (UTC)
commit 736188f3f749db98cc827f5db8aa9fa93c943a74
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 12 07:39:57 2022 -0400
Keep pango_fontset_get_language private
This is just for our own purposes.
pango/pango-fontset-private.h | 19 +++++++++++--------
pango/pango-fontset.c | 2 +-
pango/pango-fontset.h | 3 ---
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/pango/pango-fontset-private.h b/pango/pango-fontset-private.h
index af072ad7b..f67bddb03 100644
--- a/pango/pango-fontset-private.h
+++ b/pango/pango-fontset-private.h
@@ -37,12 +37,15 @@ struct _PangoFontsetClass
{
GObjectClass parent_class;
- PangoFont * (*get_font) (PangoFontset *fontset,
- guint wc);
-
- PangoFontMetrics *(*get_metrics) (PangoFontset *fontset);
- PangoLanguage * (*get_language) (PangoFontset *fontset);
- void (*foreach) (PangoFontset *fontset,
- PangoFontsetForeachFunc func,
- gpointer data);
+ PangoFont * (* get_font) (PangoFontset *fontset,
+ guint wc);
+
+ PangoFontMetrics * (* get_metrics) (PangoFontset *fontset);
+ PangoLanguage * (* get_language) (PangoFontset *fontset);
+ void (* foreach) (PangoFontset *fontset,
+ PangoFontsetForeachFunc func,
+ gpointer data);
};
+
+PangoLanguage * pango_fontset_get_language (PangoFontset *fontset);
+
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index fb3bc22c9..fd5af91d5 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -92,7 +92,7 @@ pango_fontset_get_metrics (PangoFontset *fontset)
return PANGO_FONTSET_GET_CLASS (fontset)->get_metrics (fontset);
}
-/**
+/*< private >
* pango_fontset_get_language:
* @fontset: a `PangoFontset`
*
diff --git a/pango/pango-fontset.h b/pango/pango-fontset.h
index 216979336..57beea2e9 100644
--- a/pango/pango-fontset.h
+++ b/pango/pango-fontset.h
@@ -56,8 +56,5 @@ PANGO_AVAILABLE_IN_ALL
void pango_fontset_foreach (PangoFontset *fontset,
PangoFontsetForeachFunc func,
gpointer data);
-PANGO_AVAILABLE_IN_ALL
-PangoLanguage * pango_fontset_get_language (PangoFontset *fontset);
-
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]