Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ps
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-12-23 03:09:00 (GMT)
committer Havoc Pennington <hp@src.gnome.org>2004-12-23 03:09:00 (GMT)
commitec2aa10ab1ec9246d6c35b90f5d1df372f39c732 (patch)
treebed05e043e1cfbe54aa393b1986f736f70339769 /ps
parentca09e13c4411410140f24c9a0de61527685c9719 (diff)
display an error if the document doesn't support find (better ideas?)
2004-12-22 Havoc Pennington <hp@redhat.com> * shell/ev-window.c (ev_window_cmd_edit_find): display an error if the document doesn't support find (better ideas?) (find_bar_search_changed_cb): handle missing document or document that doesn't support find * pdf/xpdf/pdf-document.cc: port to implement the new EvDocumentFindIface * backend/ev-document-find.c: create a new interface for searching * backend/ev-document.h, backend/ev-document.c: delete the find stuff
Diffstat (limited to 'ps')
-rw-r--r--ps/gtkgs.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ps/gtkgs.c b/ps/gtkgs.c
index 4c895b9..ebb29f2 100644
--- a/ps/gtkgs.c
+++ b/ps/gtkgs.c
@@ -2156,18 +2156,6 @@ ps_document_render (EvDocument *document,
}
static void
-ps_document_begin_find (EvDocument *document,
- const char *search_string,
- gboolean case_sensitive)
-{
-}
-
-static void
-ps_document_end_find (EvDocument *document)
-{
-}
-
-static void
ps_document_document_iface_init (EvDocumentIface *iface)
{
iface->load = ps_document_load;
@@ -2179,6 +2167,4 @@ ps_document_document_iface_init (EvDocumentIface *iface)
iface->set_page_offset = ps_document_set_page_offset;
iface->get_page_size = ps_document_get_page_size;
iface->render = ps_document_render;
- iface->begin_find = ps_document_begin_find;
- iface->end_find = ps_document_end_find;
}