From a4cf673a3347ec011ebc90b22b6541bae0b9f6b4 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 22 Dec 2004 00:44:41 +0000 Subject: Switch from .a to libtool convenience libraries. Tue Dec 21 19:28:55 2004 Owen Taylor * 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. --- (limited to 'backend/ev-document.c') diff --git a/backend/ev-document.c b/backend/ev-document.c index 4491003..5886e3f 100644 --- a/backend/ev-document.c +++ b/backend/ev-document.c @@ -50,13 +50,13 @@ ev_document_base_init (gpointer g_class) { } -void +gboolean ev_document_load (EvDocument *document, const char *uri, - GError *error) + GError **error) { EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document); - iface->load (document, uri, error); + return iface->load (document, uri, error); } int -- cgit v0.9.1