]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/gpdf.cc
Fixed spelling of componet in IID.
[evince.git] / pdf / xpdf / gpdf.cc
index a78a37e176c227526ff4b0fc8aa5199daf696af9..a06d604717461c1a67026f8cb3651ff62bb5ad02 100644 (file)
@@ -118,7 +118,7 @@ extern "C" {
     g_return_val_if_fail (container->view_widget == NULL, FALSE);
 
 #if USING_OAF
     g_return_val_if_fail (container->view_widget == NULL, FALSE);
 
 #if USING_OAF
-    comp = container_activate_component (container, "OAFIID:gpdf_componet:892f2727-e2ec-423c-91ad-6f7b75fec6c8");
+    comp = container_activate_component (container, "OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8");
 
 #else
     comp = container_activate_component (container, "bonobo-object:application-x-pdf");
 
 #else
     comp = container_activate_component (container, "bonobo-object:application-x-pdf");
@@ -149,7 +149,9 @@ extern "C" {
     }
     
     Bonobo_PersistStream_load (persist,
     }
     
     Bonobo_PersistStream_load (persist,
-                             (Bonobo_Stream) bonobo_object_corba_objref (BONOBO_OBJECT (stream)), &ev);
+                             (Bonobo_Stream) bonobo_object_corba_objref (BONOBO_OBJECT (stream)),
+                              "application/pdf",
+                              &ev);
 
     Bonobo_Unknown_unref (persist, &ev);
     CORBA_Object_release (persist, &ev);
 
     Bonobo_Unknown_unref (persist, &ev);
     CORBA_Object_release (persist, &ev);