diff options
Diffstat (limited to 'backend/ev-document-fonts.c')
-rw-r--r-- | backend/ev-document-fonts.c | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/backend/ev-document-fonts.c b/backend/ev-document-fonts.c deleted file mode 100644 index 929c21d..0000000 --- a/backend/ev-document-fonts.c +++ /dev/null @@ -1,74 +0,0 @@ -/* ev-document-fonts.h - * this file is part of evince, a gnome document_fonts viewer - * - * Copyright (C) 2004 Red Hat, Inc. - * - * Author: - * Marco Pesenti Gritti <mpg@redhat.com> - * - * Evince is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * Evince is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - */ - -#include "config.h" - -#include "ev-document-fonts.h" - -GType -ev_document_fonts_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) - { - const GTypeInfo our_info = - { - sizeof (EvDocumentFontsIface), - NULL, - NULL, - }; - - type = g_type_register_static (G_TYPE_INTERFACE, - "EvDocumentFonts", - &our_info, (GTypeFlags)0); - } - - return type; -} - -double -ev_document_fonts_get_progress (EvDocumentFonts *document_fonts) -{ - EvDocumentFontsIface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts); - - return iface->get_progress (document_fonts); -} - -gboolean -ev_document_fonts_scan (EvDocumentFonts *document_fonts, - int n_pages) -{ - EvDocumentFontsIface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts); - - return iface->scan (document_fonts, n_pages); -} - -void -ev_document_fonts_fill_model (EvDocumentFonts *document_fonts, - GtkTreeModel *model) -{ - EvDocumentFontsIface *iface = EV_DOCUMENT_FONTS_GET_IFACE (document_fonts); - - iface->fill_model (document_fonts, model); -} |