diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-04-08 10:37:32 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-04-08 10:37:32 (GMT) |
commit | fafa1cef81fe708fa734a004bfa1ed0e5dfecd56 (patch) | |
tree | 7ca826d6726f05512a66f2a367a3ffb84ba6b227 /shell/ev-view.c | |
parent | f9df2040ea8d3d5814257a45c23461eda0532f4e (diff) |
Check that the document supports find
2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_can_find_next):
* shell/ev-window.c: (ev_window_setup_document):
Check that the document supports find
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r-- | shell/ev-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c index b94a317..636e0f5 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1595,7 +1595,7 @@ ev_view_can_find_next (EvView *view) { int n_results = 0; - if (view->document) { + if (EV_IS_DOCUMENT_FIND (view->document)) { EvDocumentFind *find = EV_DOCUMENT_FIND (view->document); g_mutex_lock (EV_DOC_MUTEX); |