]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/gpdf.cc
don't add the client site to the item container.
[evince.git] / pdf / xpdf / gpdf.cc
index ddcc655b54bee719b95168c16599b5e58d7574f0..aa44c4eb83c86a32794b101fcd38331f256a05e9 100644 (file)
@@ -98,7 +98,7 @@ extern "C" {
     g_return_val_if_fail (container->view_widget == NULL, FALSE);
 
     comp = container_activate_component (
-           container, "OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8");
+           container, "OAFIID:GNOME_XPDF_Embeddable");
 
     if (!comp || !(object = comp->server)) {
       gnome_error_dialog (_("Could not launch bonobo object."));
@@ -383,13 +383,6 @@ container_launch_component (BonoboClientSite    *client_site,
                return NULL;
        }
 
-       /*
-        * The BonoboContainer object maintains a list of the
-        * ClientSites which it manages.  Here we add the new
-        * ClientSite to that list.
-        */
-       bonobo_item_container_add (container, BONOBO_OBJECT (client_site));
-
        return object_server;
 }