mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Move pango_cairo_font_map_set_default() to font.c
This commit is contained in:
parent
2f44e954aa
commit
58fdf9776f
3 changed files with 14 additions and 4 deletions
|
|
@ -42,3 +42,9 @@ font_height(const char *font_description)
|
|||
rectangle = font_extents(font_description, "abcdefg");
|
||||
return rectangle.height;
|
||||
}
|
||||
|
||||
void
|
||||
font_finish(void)
|
||||
{
|
||||
pango_cairo_font_map_set_default(NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue