gdk: document font display accessor

This commit is contained in:
Daemonratte 2026-05-10 10:29:07 +02:00
commit 1a34671a55

View file

@ -127,6 +127,16 @@ void gdk_string_extents (GdkFont *font,
gint *ascent,
gint *descent);
/**
* gdk_font_get_display:
* @font: the #GdkFont.
*
* Returns the #GdkDisplay for @font.
*
* Returns: (transfer none): the corresponding #GdkDisplay.
*
* Since: 2.2
*/
GdkDisplay * gdk_font_get_display (GdkFont *font);
#endif /* GDK_DISABLE_DEPRECATED */