diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 16:06:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 16:34:05 -0400 |
commit | 7f04ed9259fd91cdb3dc61c5aa43d196ec6a965f (patch) | |
tree | 51fdf2d97b85ef4a3e7c870389b92130c9b1a491 /pango/pangowin32-fontcache.c | |
parent | 75eee838a91bad404d211b002f26e9af3033f0d5 (diff) | |
download | pango-7f04ed9259fd91cdb3dc61c5aa43d196ec6a965f.tar.gz |
docs: Convert gtk-doc syntax leftoversdocs-cleanup
Remove leftovers like #Type, reduce indentations
to avoid markdown block quotes, etc.
Diffstat (limited to 'pango/pangowin32-fontcache.c')
-rw-r--r-- | pango/pangowin32-fontcache.c | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/pango/pangowin32-fontcache.c b/pango/pangowin32-fontcache.c index 1a1a1cef..bca80270 100644 --- a/pango/pangowin32-fontcache.c +++ b/pango/pangowin32-fontcache.c @@ -38,7 +38,7 @@ typedef struct _CacheEntry CacheEntry; /** * PangoWin32FontCache: * - * A #PangoWin32FontCache caches HFONTs by their LOGFONT descriptions. + * A `PangoWin32FontCache` caches HFONTs by their LOGFONT descriptions. */ struct _PangoWin32FontCache { @@ -72,11 +72,13 @@ free_cache_entry (LOGFONTW *logfont, /** * pango_win32_font_cache_free: - * @cache: a #PangoWin32FontCache + * @cache: a `PangoWin32FontCache` * - * Frees a #PangoWin32FontCache and all associated memory. All fonts loaded - * through this font cache will be freed along with the cache. - **/ + * Frees a `PangoWin32FontCache` and all associated memory. + * + * All fonts loaded through this font cache will be freed + * along with the cache. + */ void pango_win32_font_cache_free (PangoWin32FontCache *cache) { @@ -178,7 +180,7 @@ cache_entry_unref (PangoWin32FontCache *cache, /** * pango_win32_font_cache_load: - * @cache: a #PangoWin32FontCache + * @cache: a `PangoWin32FontCache` * @logfont: a pointer to a LOGFONTA structure describing the font to load. * * Creates a HFONT from a LOGFONTA. The @@ -186,9 +188,9 @@ cache_entry_unref (PangoWin32FontCache *cache, * stored * * Return value: (nullable): The font structure, or %NULL if the font - * could not be loaded. In order to free this structure, you must call - * pango_win32_font_cache_unload(). - **/ + * could not be loaded. In order to free this structure, you must call + * [method@Pango.Win32FontCache.unload]. + */ HFONT pango_win32_font_cache_load (PangoWin32FontCache *cache, const LOGFONTA *lfp) @@ -208,7 +210,7 @@ pango_win32_font_cache_load (PangoWin32FontCache *cache, /** * pango_win32_font_cache_loadw: - * @cache: a #PangoWin32FontCache + * @cache: a `PangoWin32FontCache` * @logfont: a pointer to a LOGFONTW structure describing the font to load. * * Creates a HFONT from a LOGFONTW. The @@ -216,11 +218,11 @@ pango_win32_font_cache_load (PangoWin32FontCache *cache, * stored * * Return value: (nullable): The font structure, or %NULL if the font - * could not be loaded. In order to free this structure, you must call - * pango_win32_font_cache_unload(). + * could not be loaded. In order to free this structure, you must call + * [method@Pango.Win32FontCache.unload]. * * Since: 1.16 - **/ + */ HFONT pango_win32_font_cache_loadw (PangoWin32FontCache *cache, const LOGFONTW *lfp) @@ -412,11 +414,12 @@ pango_win32_font_cache_loadw (PangoWin32FontCache *cache, /** * pango_win32_font_cache_unload: - * @cache: a #PangoWin32FontCache + * @cache: a `PangoWin32FontCache` * @hfont: the HFONT to unload * - * Frees a font structure previously loaded with pango_win32_font_cache_load(). - **/ + * Frees a font structure previously loaded with + * [method@Pango.Win32FontCache.load]. + */ void pango_win32_font_cache_unload (PangoWin32FontCache *cache, HFONT hfont) |