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=c20abed73ed83ef2d35e3d97481bb0f98a0a806b;hpb=0c06dc4d1656051c9613973e8bef9c7dbfaa151d;p=evince.git diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index c20abed7..27b80c31 100644 --- a/properties/ev-properties-main.c +++ b/properties/ev-properties-main.c @@ -27,17 +27,19 @@ * */ -#include "ev-properties-view.h" -#include "ev-backends-manager.h" -#include "ev-document-factory.h" - #include + #include + #include -#include +#include + #include #include +#include +#include "ev-properties-view.h" + static GType epp_type = 0; static void property_page_provider_iface_init (NautilusPropertyPageProviderIface *iface); @@ -109,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); @@ -135,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 @@ -154,4 +156,3 @@ nautilus_module_list_types (const GType **types, *types = type_list; *num_types = G_N_ELEMENTS (type_list); } -