summaryrefslogtreecommitdiff
path: root/font-viewer/font-model.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-08 13:32:04 +0100
committerraveit65 <[email protected]>2017-03-08 16:08:00 +0100
commit440e7588459f39a56043bc85658aec5a9262a2e3 (patch)
tree750a89986fc82ea2af9a1311790991cfdaa0a48d /font-viewer/font-model.c
parentadff2474297f0153bd5f06b9e89b7674eaef7435 (diff)
downloadmate-control-center-440e7588459f39a56043bc85658aec5a9262a2e3.tar.bz2
mate-control-center-440e7588459f39a56043bc85658aec5a9262a2e3.tar.xz
font-viewer font-utils: Add face_index argument
font_utils_get_font_name_for_file() now takes face index as the third argument. All callers changed.
Diffstat (limited to 'font-viewer/font-model.c')
-rw-r--r--font-viewer/font-model.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/font-viewer/font-model.c b/font-viewer/font-model.c
index 9c1d82e8..3abd5a43 100644
--- a/font-viewer/font-model.c
+++ b/font-viewer/font-model.c
@@ -364,7 +364,9 @@ load_font_infos (GTask *task,
FcPatternGetString (self->priv->font_list->fonts[i], FC_FILE, 0, &file);
g_mutex_unlock (&self->priv->font_list_mutex);
- font_name = font_utils_get_font_name_for_file (self->priv->library, (const gchar *) file);
+ font_name = font_utils_get_font_name_for_file (self->priv->library,
+ (const gchar *) file,
+ 0);
if (!font_name)
continue;