]> www.fi.muni.cz Git - evince.git/commitdiff
Updated for new PersistStream interface. I mostly just passed NULLs. Not
authorDarin Adler <darin@src.gnome.org>
Fri, 26 May 2000 17:08:39 +0000 (17:08 +0000)
committerDarin Adler <darin@src.gnome.org>
Fri, 26 May 2000 17:08:39 +0000 (17:08 +0000)
* xpdf/bonobo-application-x-pdf.cc (load_pdf_from_stream),
(embeddable_factory):
* xpdf/gpdf.cc: (open_pdf):
Updated for new PersistStream interface. I mostly just passed
NULLs. Not 100% sure that's correct.

pdf/xpdf/gpdf.cc

index a78a37e176c227526ff4b0fc8aa5199daf696af9..49d49d8d335aa3f894babfc04d42d860a564f7dd 100644 (file)
@@ -149,7 +149,9 @@ extern "C" {
     }
     
     Bonobo_PersistStream_load (persist,
-                             (Bonobo_Stream) bonobo_object_corba_objref (BONOBO_OBJECT (stream)), &ev);
+                             (Bonobo_Stream) bonobo_object_corba_objref (BONOBO_OBJECT (stream)),
+                              "",
+                              &ev);
 
     Bonobo_Unknown_unref (persist, &ev);
     CORBA_Object_release (persist, &ev);