Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/ev-document-fonts.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ev-document-fonts.c')
-rw-r--r--backend/ev-document-fonts.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/backend/ev-document-fonts.c b/backend/ev-document-fonts.c
index fca1976..cd53d1e 100644
--- a/backend/ev-document-fonts.c
+++ b/backend/ev-document-fonts.c
@@ -47,13 +47,12 @@ ev_document_fonts_get_type (void)
return type;
}
-GtkTreeModel *
-ev_document_fonts_get_fonts_model (EvDocumentFonts *document_fonts)
+gboolean
+ev_document_fonts_fill_model (EvDocumentFonts *document_fonts,
+ GtkTreeModel *model,
+ int n_pages)
{
EvDocumentFontsIface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts);
- GtkTreeModel *retval;
- retval = iface->get_fonts_model (document_fonts);
-
- return retval;
+ return iface->fill_model (document_fonts, model, n_pages);
}