From ec2aa10ab1ec9246d6c35b90f5d1df372f39c732 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 23 Dec 2004 03:09:00 +0000 Subject: display an error if the document doesn't support find (better ideas?) 2004-12-22 Havoc Pennington * 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 --- (limited to 'pixbuf/pixbuf-document.c') diff --git a/pixbuf/pixbuf-document.c b/pixbuf/pixbuf-document.c index 7eeb8fd..01df278 100644 --- a/pixbuf/pixbuf-document.c +++ b/pixbuf/pixbuf-document.c @@ -176,19 +176,6 @@ pixbuf_document_render (EvDocument *document, } static void -pixbuf_document_begin_find (EvDocument *document, - const char *search_string, - gboolean case_sensitive) -{ - -} - -static void -pixbuf_document_end_find (EvDocument *document) -{ -} - -static void pixbuf_document_finalize (GObject *object) { PixbufDocument *pixbuf_document = PIXBUF_DOCUMENT (object); @@ -220,8 +207,6 @@ pixbuf_document_document_iface_init (EvDocumentIface *iface) iface->set_page_offset = pixbuf_document_set_page_offset; iface->get_page_size = pixbuf_document_get_page_size; iface->render = pixbuf_document_render; - iface->begin_find = pixbuf_document_begin_find; - iface->end_find = pixbuf_document_end_find; } static GdkPixbuf * -- cgit v0.9.1