From 197b7bfe7f2120f7af95759ac4cdaf51dbb7bb99 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 13 Dec 2006 12:14:56 +0000 Subject: Add "static" to some private functions. 2006-12-13 Carlos Garcia Campos * pdf/ev-poppler.cc: (pdf_document_find_get_n_results), (pdf_document_find_get_result), (pdf_document_find_page_has_results), (pdf_document_find_get_progress), (pdf_selection_render_selection), (pdf_selection_get_selection_region), (pdf_selection_get_selection_map): Add "static" to some private functions. --- (limited to 'pdf') diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index 148c6c5..d49579e 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -1323,7 +1323,7 @@ pdf_document_find_begin (EvDocumentFind *document, search_string); } -int +static int pdf_document_find_get_n_results (EvDocumentFind *document_find, int page) { PdfDocumentSearch *search = PDF_DOCUMENT (document_find)->search; @@ -1335,7 +1335,7 @@ pdf_document_find_get_n_results (EvDocumentFind *document_find, int page) } } -gboolean +static gboolean pdf_document_find_get_result (EvDocumentFind *document_find, int page, int n_result, @@ -1366,7 +1366,7 @@ pdf_document_find_get_result (EvDocumentFind *document_find, return TRUE; } -int +static int pdf_document_find_page_has_results (EvDocumentFind *document_find, int page) { @@ -1375,7 +1375,7 @@ pdf_document_find_page_has_results (EvDocumentFind *document_find, return search && search->pages[page] != NULL; } -double +static double pdf_document_find_get_progress (EvDocumentFind *document_find) { PdfDocumentSearch *search; @@ -1543,7 +1543,7 @@ pdf_document_file_exporter_iface_init (EvFileExporterIface *iface) iface->end = pdf_document_file_exporter_end; } -void +static void pdf_selection_render_selection (EvSelection *selection, EvRenderContext *rc, GdkPixbuf **pixbuf, @@ -1578,7 +1578,7 @@ pdf_selection_render_selection (EvSelection *selection, } -GdkRegion * +static GdkRegion * pdf_selection_get_selection_region (EvSelection *selection, EvRenderContext *rc, EvRectangle *points) @@ -1595,7 +1595,7 @@ pdf_selection_get_selection_region (EvSelection *selection, return retval; } -GdkRegion * +static GdkRegion * pdf_selection_get_selection_map (EvSelection *selection, EvRenderContext *rc) { -- cgit v0.9.1