Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/comics/comics-document.c4
-rw-r--r--backend/djvu/djvu-document.c20
-rw-r--r--backend/dvi/dvi-document.c14
-rw-r--r--backend/pdf/ev-poppler.cc66
-rw-r--r--backend/pixbuf/pixbuf-document.c4
-rw-r--r--backend/ps/ev-spectre.c8
-rw-r--r--backend/tiff/tiff-document.c8
7 files changed, 62 insertions, 62 deletions
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c
index dc57cdd..272761f 100644
--- a/backend/comics/comics-document.c
+++ b/backend/comics/comics-document.c
@@ -119,7 +119,7 @@ static const ComicBookDecompressCommand command_usage_def[] = {
{"%s -xOf" , "%s -tf %s" , NULL , NO_OFFSET}
};
-static void comics_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
+static void comics_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
static GSList* get_supported_image_extensions (void);
static void get_page_size_area_prepared_cb (GdkPixbufLoader *loader,
@@ -820,7 +820,7 @@ comics_document_thumbnails_get_dimensions (EvDocumentThumbnails *document,
}
static void
-comics_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+comics_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = comics_document_thumbnails_get_thumbnail;
iface->get_dimensions = comics_document_thumbnails_get_dimensions;
diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c
index 776d0dc..8a747de 100644
--- a/backend/djvu/djvu-document.c
+++ b/backend/djvu/djvu-document.c
@@ -51,11 +51,11 @@ struct _DjvuDocumentClass
typedef struct _DjvuDocumentClass DjvuDocumentClass;
-static void djvu_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
-static void djvu_document_file_exporter_iface_init (EvFileExporterIface *iface);
-static void djvu_document_find_iface_init (EvDocumentFindIface *iface);
-static void djvu_document_document_links_iface_init (EvDocumentLinksIface *iface);
-static void djvu_selection_iface_init (EvSelectionIface *iface);
+static void djvu_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
+static void djvu_document_file_exporter_iface_init (EvFileExporterInterface *iface);
+static void djvu_document_find_iface_init (EvDocumentFindInterface *iface);
+static void djvu_document_document_links_iface_init (EvDocumentLinksInterface *iface);
+static void djvu_selection_iface_init (EvSelectionInterface *iface);
EV_BACKEND_REGISTER_WITH_CODE (DjvuDocument, djvu_document,
{
@@ -468,7 +468,7 @@ djvu_selection_get_selected_text (EvSelection *selection,
}
static void
-djvu_selection_iface_init (EvSelectionIface *iface)
+djvu_selection_iface_init (EvSelectionInterface *iface)
{
iface->get_selected_text = djvu_selection_get_selected_text;
}
@@ -541,7 +541,7 @@ djvu_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document,
}
static void
-djvu_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+djvu_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = djvu_document_thumbnails_get_thumbnail;
iface->get_dimensions = djvu_document_thumbnails_get_dimensions;
@@ -605,7 +605,7 @@ djvu_document_file_exporter_get_capabilities (EvFileExporter *exporter)
}
static void
-djvu_document_file_exporter_iface_init (EvFileExporterIface *iface)
+djvu_document_file_exporter_iface_init (EvFileExporterInterface *iface)
{
iface->begin = djvu_document_file_exporter_begin;
iface->do_page = djvu_document_file_exporter_do_page;
@@ -684,7 +684,7 @@ djvu_document_find_find_text (EvDocumentFind *document,
}
static void
-djvu_document_find_iface_init (EvDocumentFindIface *iface)
+djvu_document_find_iface_init (EvDocumentFindInterface *iface)
{
iface->find_text = djvu_document_find_find_text;
}
@@ -697,7 +697,7 @@ djvu_document_links_get_links (EvDocumentLinks *document_links,
}
static void
-djvu_document_document_links_iface_init (EvDocumentLinksIface *iface)
+djvu_document_document_links_iface_init (EvDocumentLinksInterface *iface)
{
iface->has_document_links = djvu_links_has_document_links;
iface->get_links_model = djvu_links_get_links_model;
diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c
index fb578a4..2365c1e 100644
--- a/backend/dvi/dvi-document.c
+++ b/backend/dvi/dvi-document.c
@@ -74,11 +74,11 @@ struct _DviDocument
typedef struct _DviDocumentClass DviDocumentClass;
-static void dvi_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
-static void dvi_document_file_exporter_iface_init (EvFileExporterIface *iface);
-static void dvi_document_do_color_special (DviContext *dvi,
- const char *prefix,
- const char *arg);
+static void dvi_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
+static void dvi_document_file_exporter_iface_init (EvFileExporterInterface *iface);
+static void dvi_document_do_color_special (DviContext *dvi,
+ const char *prefix,
+ const char *arg);
EV_BACKEND_REGISTER_WITH_CODE (DviDocument, dvi_document,
{
@@ -337,7 +337,7 @@ dvi_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document,
}
static void
-dvi_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+dvi_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = dvi_document_thumbnails_get_thumbnail;
iface->get_dimensions = dvi_document_thumbnails_get_dimensions;
@@ -413,7 +413,7 @@ dvi_document_file_exporter_get_capabilities (EvFileExporter *exporter)
}
static void
-dvi_document_file_exporter_iface_init (EvFileExporterIface *iface)
+dvi_document_file_exporter_iface_init (EvFileExporterInterface *iface)
{
iface->begin = dvi_document_file_exporter_begin;
iface->do_page = dvi_document_file_exporter_do_page;
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index cc4999e..ac1fce8 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -122,27 +122,27 @@ struct _PdfDocument
GList *layers;
};
-static void pdf_document_security_iface_init (EvDocumentSecurityIface *iface);
-static void pdf_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
-static void pdf_document_document_links_iface_init (EvDocumentLinksIface *iface);
-static void pdf_document_document_images_iface_init (EvDocumentImagesIface *iface);
-static void pdf_document_document_forms_iface_init (EvDocumentFormsIface *iface);
-static void pdf_document_document_fonts_iface_init (EvDocumentFontsIface *iface);
-static void pdf_document_document_layers_iface_init (EvDocumentLayersIface *iface);
+static void pdf_document_security_iface_init (EvDocumentSecurityInterface *iface);
+static void pdf_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
+static void pdf_document_document_links_iface_init (EvDocumentLinksInterface *iface);
+static void pdf_document_document_images_iface_init (EvDocumentImagesInterface *iface);
+static void pdf_document_document_forms_iface_init (EvDocumentFormsInterface *iface);
+static void pdf_document_document_fonts_iface_init (EvDocumentFontsInterface *iface);
+static void pdf_document_document_layers_iface_init (EvDocumentLayersInterface *iface);
#ifdef HAVE_POPPLER_PAGE_RENDER
-static void pdf_document_document_print_iface_init (EvDocumentPrintIface *iface);
+static void pdf_document_document_print_iface_init (EvDocumentPrintInterface *iface);
#endif
-static void pdf_document_document_annotations_iface_init (EvDocumentAnnotationsIface *iface);
-static void pdf_document_document_attachments_iface_init (EvDocumentAttachmentsIface *iface);
-static void pdf_document_find_iface_init (EvDocumentFindIface *iface);
-static void pdf_document_file_exporter_iface_init (EvFileExporterIface *iface);
-static void pdf_selection_iface_init (EvSelectionIface *iface);
-static void pdf_document_page_transition_iface_init (EvDocumentTransitionIface *iface);
-static void pdf_document_thumbnails_get_dimensions (EvDocumentThumbnails *document_thumbnails,
- EvRenderContext *rc,
- gint *width,
- gint *height);
-static int pdf_document_get_n_pages (EvDocument *document);
+static void pdf_document_document_annotations_iface_init (EvDocumentAnnotationsInterface *iface);
+static void pdf_document_document_attachments_iface_init (EvDocumentAttachmentsInterface *iface);
+static void pdf_document_find_iface_init (EvDocumentFindInterface *iface);
+static void pdf_document_file_exporter_iface_init (EvFileExporterInterface *iface);
+static void pdf_selection_iface_init (EvSelectionInterface *iface);
+static void pdf_document_page_transition_iface_init (EvDocumentTransitionInterface *iface);
+static void pdf_document_thumbnails_get_dimensions (EvDocumentThumbnails *document_thumbnails,
+ EvRenderContext *rc,
+ gint *width,
+ gint *height);
+static int pdf_document_get_n_pages (EvDocument *document);
static EvLinkDest *ev_link_dest_from_dest (PdfDocument *pdf_document,
PopplerDest *dest);
@@ -893,7 +893,7 @@ pdf_document_set_password (EvDocumentSecurity *document_security,
}
static void
-pdf_document_security_iface_init (EvDocumentSecurityIface *iface)
+pdf_document_security_iface_init (EvDocumentSecurityInterface *iface)
{
iface->has_document_security = pdf_document_has_document_security;
iface->set_password = pdf_document_set_password;
@@ -1013,7 +1013,7 @@ pdf_document_fonts_fill_model (EvDocumentFonts *document_fonts,
}
static void
-pdf_document_document_fonts_iface_init (EvDocumentFontsIface *iface)
+pdf_document_document_fonts_iface_init (EvDocumentFontsInterface *iface)
{
iface->fill_model = pdf_document_fonts_fill_model;
iface->scan = pdf_document_fonts_scan;
@@ -1340,7 +1340,7 @@ pdf_document_links_find_link_dest (EvDocumentLinks *document_links,
}
static void
-pdf_document_document_links_iface_init (EvDocumentLinksIface *iface)
+pdf_document_document_links_iface_init (EvDocumentLinksInterface *iface)
{
iface->has_document_links = pdf_document_links_has_document_links;
iface->get_links_model = pdf_document_links_get_links_model;
@@ -1410,7 +1410,7 @@ pdf_document_images_get_image (EvDocumentImages *document_images,
}
static void
-pdf_document_document_images_iface_init (EvDocumentImagesIface *iface)
+pdf_document_document_images_iface_init (EvDocumentImagesInterface *iface)
{
iface->get_image_mapping = pdf_document_images_get_image_mapping;
iface->get_image = pdf_document_images_get_image;
@@ -1531,7 +1531,7 @@ pdf_document_thumbnails_get_dimensions (EvDocumentThumbnails *document_thumbnail
}
static void
-pdf_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+pdf_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = pdf_document_thumbnails_get_thumbnail;
iface->get_dimensions = pdf_document_thumbnails_get_dimensions;
@@ -1571,7 +1571,7 @@ pdf_document_find_find_text (EvDocumentFind *document_find,
}
static void
-pdf_document_find_iface_init (EvDocumentFindIface *iface)
+pdf_document_find_iface_init (EvDocumentFindInterface *iface)
{
iface->find_text = pdf_document_find_find_text;
}
@@ -1855,7 +1855,7 @@ pdf_document_file_exporter_get_capabilities (EvFileExporter *exporter)
}
static void
-pdf_document_file_exporter_iface_init (EvFileExporterIface *iface)
+pdf_document_file_exporter_iface_init (EvFileExporterInterface *iface)
{
iface->begin = pdf_document_file_exporter_begin;
iface->begin_page = pdf_document_file_exporter_begin_page;
@@ -1878,7 +1878,7 @@ pdf_document_print_print_page (EvDocumentPrint *document,
}
static void
-pdf_document_document_print_iface_init (EvDocumentPrintIface *iface)
+pdf_document_document_print_iface_init (EvDocumentPrintInterface *iface)
{
iface->print_page = pdf_document_print_print_page;
}
@@ -2057,7 +2057,7 @@ pdf_selection_get_selection_map (EvSelection *selection,
}
static void
-pdf_selection_iface_init (EvSelectionIface *iface)
+pdf_selection_iface_init (EvSelectionInterface *iface)
{
iface->render_selection = pdf_selection_render_selection;
iface->get_selected_text = pdf_selection_get_selected_text;
@@ -2124,7 +2124,7 @@ pdf_document_get_effect (EvDocumentTransition *trans,
}
static void
-pdf_document_page_transition_iface_init (EvDocumentTransitionIface *iface)
+pdf_document_page_transition_iface_init (EvDocumentTransitionInterface *iface)
{
iface->get_page_duration = pdf_document_get_page_duration;
iface->get_effect = pdf_document_get_effect;
@@ -2490,7 +2490,7 @@ pdf_document_forms_form_field_choice_get_text (EvDocumentForms *document,
}
static void
-pdf_document_document_forms_iface_init (EvDocumentFormsIface *iface)
+pdf_document_document_forms_iface_init (EvDocumentFormsInterface *iface)
{
iface->get_form_fields = pdf_document_forms_get_form_fields;
iface->form_field_text_get_text = pdf_document_forms_form_field_text_get_text;
@@ -2724,7 +2724,7 @@ pdf_document_annotations_annotation_set_contents (EvDocumentAnnotations *documen
}
static void
-pdf_document_document_annotations_iface_init (EvDocumentAnnotationsIface *iface)
+pdf_document_document_annotations_iface_init (EvDocumentAnnotationsInterface *iface)
{
iface->get_annotations = pdf_document_annotations_get_annotations;
iface->annotation_set_contents = pdf_document_annotations_annotation_set_contents;
@@ -2841,7 +2841,7 @@ pdf_document_attachments_has_attachments (EvDocumentAttachments *document)
}
static void
-pdf_document_document_attachments_iface_init (EvDocumentAttachmentsIface *iface)
+pdf_document_document_attachments_iface_init (EvDocumentAttachmentsInterface *iface)
{
iface->has_attachments = pdf_document_attachments_has_attachments;
iface->get_attachments = pdf_document_attachments_get_attachments;
@@ -2971,7 +2971,7 @@ pdf_document_layers_layer_is_visible (EvDocumentLayers *document,
}
static void
-pdf_document_document_layers_iface_init (EvDocumentLayersIface *iface)
+pdf_document_document_layers_iface_init (EvDocumentLayersInterface *iface)
{
iface->has_layers = pdf_document_layers_has_layers;
iface->get_layers = pdf_document_layers_get_layers;
diff --git a/backend/pixbuf/pixbuf-document.c b/backend/pixbuf/pixbuf-document.c
index 0621f28..065fe49 100644
--- a/backend/pixbuf/pixbuf-document.c
+++ b/backend/pixbuf/pixbuf-document.c
@@ -41,7 +41,7 @@ struct _PixbufDocument
typedef struct _PixbufDocumentClass PixbufDocumentClass;
-static void pixbuf_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
+static void pixbuf_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
EV_BACKEND_REGISTER_WITH_CODE (PixbufDocument, pixbuf_document,
{
@@ -195,7 +195,7 @@ pixbuf_document_thumbnails_get_dimensions (EvDocumentThumbnails *document,
}
static void
-pixbuf_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+pixbuf_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = pixbuf_document_thumbnails_get_thumbnail;
iface->get_dimensions = pixbuf_document_thumbnails_get_dimensions;
diff --git a/backend/ps/ev-spectre.c b/backend/ps/ev-spectre.c
index 8560fbe..54807f0 100644
--- a/backend/ps/ev-spectre.c
+++ b/backend/ps/ev-spectre.c
@@ -41,8 +41,8 @@ struct _PSDocumentClass {
EvDocumentClass parent_class;
};
-static void ps_document_file_exporter_iface_init (EvFileExporterIface *iface);
-static void ps_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
+static void ps_document_file_exporter_iface_init (EvFileExporterInterface *iface);
+static void ps_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
EV_BACKEND_REGISTER_WITH_CODE (PSDocument, ps_document,
{
@@ -401,7 +401,7 @@ ps_document_thumbnails_get_dimensions (EvDocumentThumbnails *document_thumbnails
}
static void
-ps_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+ps_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = ps_document_thumbnails_get_thumbnail;
iface->get_dimensions = ps_document_thumbnails_get_dimensions;
@@ -464,7 +464,7 @@ ps_document_file_exporter_get_capabilities (EvFileExporter *exporter)
}
static void
-ps_document_file_exporter_iface_init (EvFileExporterIface *iface)
+ps_document_file_exporter_iface_init (EvFileExporterInterface *iface)
{
iface->begin = ps_document_file_exporter_begin;
iface->do_page = ps_document_file_exporter_do_page;
diff --git a/backend/tiff/tiff-document.c b/backend/tiff/tiff-document.c
index 25a961e..9c113b4 100644
--- a/backend/tiff/tiff-document.c
+++ b/backend/tiff/tiff-document.c
@@ -53,8 +53,8 @@ struct _TiffDocument
typedef struct _TiffDocumentClass TiffDocumentClass;
-static void tiff_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface);
-static void tiff_document_document_file_exporter_iface_init (EvFileExporterIface *iface);
+static void tiff_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface);
+static void tiff_document_document_file_exporter_iface_init (EvFileExporterInterface *iface);
EV_BACKEND_REGISTER_WITH_CODE (TiffDocument, tiff_document,
{
@@ -468,7 +468,7 @@ tiff_document_thumbnails_get_dimensions (EvDocumentThumbnails *document,
}
static void
-tiff_document_document_thumbnails_iface_init (EvDocumentThumbnailsIface *iface)
+tiff_document_document_thumbnails_iface_init (EvDocumentThumbnailsInterface *iface)
{
iface->get_thumbnail = tiff_document_thumbnails_get_thumbnail;
iface->get_dimensions = tiff_document_thumbnails_get_dimensions;
@@ -518,7 +518,7 @@ tiff_document_file_exporter_get_capabilities (EvFileExporter *exporter)
}
static void
-tiff_document_document_file_exporter_iface_init (EvFileExporterIface *iface)
+tiff_document_document_file_exporter_iface_init (EvFileExporterInterface *iface)
{
iface->begin = tiff_document_file_exporter_begin;
iface->do_page = tiff_document_file_exporter_do_page;