diff options
author | raveit65 <[email protected]> | 2017-03-08 13:24:04 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-03-08 16:08:00 +0100 |
commit | adff2474297f0153bd5f06b9e89b7674eaef7435 (patch) | |
tree | 5bc4a9dfb1e1647de9dff9c3418bac27793378ad /font-viewer/font-utils.c | |
parent | cc55fabbf675e4f4b8c79d8be1ab3cb5c503f907 (diff) | |
download | mate-control-center-adff2474297f0153bd5f06b9e89b7674eaef7435.tar.bz2 mate-control-center-adff2474297f0153bd5f06b9e89b7674eaef7435.tar.xz |
sushi-font-loader: Add face_index argument
sushi_new_ft_face_from_uri{,_async}() now takes face index as the third
argument. All callers changed.
https://bugzilla.gnome.org/show_bug.cgi?id=752005
taken from:
https://git.gnome.org/browse/gnome-font-viewer/commit/?id=28bab70
Diffstat (limited to 'font-viewer/font-utils.c')
-rw-r--r-- | font-viewer/font-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font-viewer/font-utils.c b/font-viewer/font-utils.c index 7ec5f605..6c96395a 100644 --- a/font-viewer/font-utils.c +++ b/font-viewer/font-utils.c @@ -47,7 +47,7 @@ font_utils_get_font_name_for_file (FT_Library library, file = g_file_new_for_path (path); uri = g_file_get_uri (file); - face = sushi_new_ft_face_from_uri (library, uri, &contents, &error); + face = sushi_new_ft_face_from_uri (library, uri, 0, &contents, &error); if (face != NULL) { name = font_utils_get_font_name (face); FT_Done_Face (face); |