mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
pango/cairo: set default font map to NULL to free it
This commit is contained in:
parent
fe72e3b349
commit
7ef08ffbe6
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#define _XOPEN_SOURCE 700
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#include <getopt.h>
|
||||
#include <pango/pangocairo.h>
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -441,5 +442,7 @@ int main(int argc, char **argv) {
|
|||
free_config(config);
|
||||
}
|
||||
|
||||
pango_cairo_font_map_set_default(NULL);
|
||||
|
||||
return exit_value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue