X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=properties%2Fev-properties-main.c;h=27b80c31c47c057a63694a6abdefdbded9d3c322;hb=9a56c842cd84566f69f31d7ab4e1ec0492a157a3;hp=b25df9ea011a632f718a351ae0ddf99056be708d;hpb=75d6ca169171f642ba7438e648b4529638bf90c3;p=evince.git diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index b25df9ea..27b80c31 100644 --- a/properties/ev-properties-main.c +++ b/properties/ev-properties-main.c @@ -37,9 +37,8 @@ #include #include +#include #include "ev-properties-view.h" -#include "ev-backends-manager.h" -#include "ev-document-factory.h" static GType epp_type = 0; static void property_page_provider_iface_init @@ -112,7 +111,7 @@ ev_properties_get_pages (NautilusPropertyPageProvider *provider, goto end; label = gtk_label_new (_("Document")); - page = ev_properties_view_new (); + page = ev_properties_view_new (uri); ev_properties_view_set_info (EV_PROPERTIES_VIEW (page), ev_document_get_info (document)); gtk_widget_show (page); @@ -138,13 +137,13 @@ nautilus_module_initialize (GTypeModule *module) bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - ev_backends_manager_init (); + ev_init (); } void nautilus_module_shutdown (void) { - ev_backends_manager_shutdown (); + ev_shutdown (); } void @@ -157,4 +156,3 @@ nautilus_module_list_types (const GType **types, *types = type_list; *num_types = G_N_ELEMENTS (type_list); } -