diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-08-23 16:02:41 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-09-15 13:59:14 (GMT) |
commit | 34148304a0237fd9fd7c4ea05ca2e053d9ddd3ff (patch) | |
tree | c15e675d979cc94361c424ab18adf4ec21e80b48 /libmisc/ev-page-action.h | |
parent | 8f8663bd6503f53ad78c68aefe44800575959944 (diff) |
Remove EvPageCache and use EvDocumentModel instead
EvView is now another view for the common model EvDocumentModel. Now
it's possible to have several windows for the same document without the
symlink hack. Every window has its own model, while the document object
is shared.
Diffstat (limited to 'libmisc/ev-page-action.h')
-rw-r--r-- | libmisc/ev-page-action.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libmisc/ev-page-action.h b/libmisc/ev-page-action.h index dc13bdd..1817089 100644 --- a/libmisc/ev-page-action.h +++ b/libmisc/ev-page-action.h @@ -24,6 +24,7 @@ #include <gtk/gtk.h> #include <evince-document.h> +#include <evince-view.h> G_BEGIN_DECLS @@ -54,12 +55,13 @@ struct _EvPageActionClass EvLink *link); }; -GType ev_page_action_get_type (void); -void ev_page_action_set_document (EvPageAction *page_action, - EvDocument *document); -void ev_page_action_set_model (EvPageAction *page_action, - GtkTreeModel *model); -void ev_page_action_grab_focus (EvPageAction *page_action); +GType ev_page_action_get_type (void) G_GNUC_CONST; + +void ev_page_action_set_model (EvPageAction *page_action, + EvDocumentModel *model); +void ev_page_action_set_links_model (EvPageAction *page_action, + GtkTreeModel *links_model); +void ev_page_action_grab_focus (EvPageAction *page_action); G_END_DECLS |