diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-05 08:01:09 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-05 13:11:06 +0900 |
commit | 7ef08ffbe6dc9a0b35cd9cad0b689136e3515886 (patch) | |
tree | f3bb1f8c7a86163f89cac7e7f198861989725fb3 | |
parent | fe72e3b349f0905519481b77b22c525aca9c704d (diff) |
pango/cairo: set default font map to NULL to free it
-rw-r--r-- | sway/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c index 96e41bbc..ec7353be 100644 --- a/sway/main.c +++ b/sway/main.c @@ -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; } |