X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2Fgpdf.cc;h=aa44c4eb83c86a32794b101fcd38331f256a05e9;hb=11c2610a62f60a0394c0eea0fede081d9fd678bd;hp=ddcc655b54bee719b95168c16599b5e58d7574f0;hpb=6e37e5bff850391659b6016ec334451ec264edc1;p=evince.git diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index ddcc655b..aa44c4eb 100644 --- a/pdf/xpdf/gpdf.cc +++ b/pdf/xpdf/gpdf.cc @@ -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; }