summaryrefslogtreecommitdiff
path: root/font-viewer/font-model.c
diff options
context:
space:
mode:
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;