Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-12-13 12:14:56 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-12-13 12:14:56 (GMT)
commit197b7bfe7f2120f7af95759ac4cdaf51dbb7bb99 (patch)
treecad2cc2f99700834d489c3ad10bf0e3b056f0324 /pdf
parent7069e1991b056fcf8286f09c3f7942909db04a0d (diff)
Add "static" to some private functions.
2006-12-13 Carlos Garcia Campos <carlosgc@gnome.org> * 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.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/ev-poppler.cc14
1 files changed, 7 insertions, 7 deletions
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)
{