Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/ev-document.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-12-22 00:44:41 (GMT)
committer Owen Taylor <otaylor@src.gnome.org>2004-12-22 00:44:41 (GMT)
commita4cf673a3347ec011ebc90b22b6541bae0b9f6b4 (patch)
treec083238873e7fd943411e0bb2e1a761adf716783 /backend/ev-document.h
parentd6198ac2024d229d47b631648fe8352ffb4d3e80 (diff)
Switch from .a to libtool convenience libraries.
Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com> * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from .a to libtool convenience libraries. * shell/ev-window.c (ev_window_open): Hard code loading a PDF document. * backend/ev-document.h: Add a boolean return to load(), fix GError * to GError **. * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub object for a PDF backend EvDocument.
Diffstat (limited to 'backend/ev-document.h')
-rw-r--r--backend/ev-document.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/backend/ev-document.h b/backend/ev-document.h
index e4ff783..aa10f9b 100644
--- a/backend/ev-document.h
+++ b/backend/ev-document.h
@@ -42,9 +42,9 @@ struct _EvDocumentIface
GTypeInterface base_iface;
/* Methods */
- void (* load) (EvDocument *document,
+ gboolean (* load) (EvDocument *document,
const char *uri,
- GError *error);
+ GError **error);
int (* get_n_pages) (EvDocument *document);
void (* set_page) (EvDocument *document,
int page);
@@ -64,24 +64,24 @@ struct _EvDocumentIface
GType ev_document_get_type (void);
-void ev_document_load (EvDocument *document,
- const char *uri,
- GError *error);
-int ev_document_get_n_pages (EvDocument *document);
-void ev_document_set_page (EvDocument *document,
- int page);
-void ev_document_set_target (EvDocument *document,
- GdkDrawable *target);
-void ev_document_set_page_rect (EvDocument *document,
- int x,
- int y,
- int width,
- int height);
-void ev_document_render (EvDocument *document,
- int clip_x,
- int clip_y,
- int clip_width,
- int clip_height);
+gboolean ev_document_load (EvDocument *document,
+ const char *uri,
+ GError **error);
+int ev_document_get_n_pages (EvDocument *document);
+void ev_document_set_page (EvDocument *document,
+ int page);
+void ev_document_set_target (EvDocument *document,
+ GdkDrawable *target);
+void ev_document_set_page_rect (EvDocument *document,
+ int x,
+ int y,
+ int width,
+ int height);
+void ev_document_render (EvDocument *document,
+ int clip_x,
+ int clip_y,
+ int clip_width,
+ int clip_height);
G_END_DECLS