X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=properties%2Fev-properties-main.c;h=3b1e8e06eb3b490a03d55d26c6fa40fa21873cef;hb=0158218ce547e17e1684a0cb6a3e7b58f700caee;hp=f726591b4fa07810f4e9ae6c5097495e7ab0d79d;hpb=a4a3a2301361cb6a71e1b127e8e43589f2749105;p=evince.git diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index f726591b..3b1e8e06 100644 --- a/properties/ev-properties-main.c +++ b/properties/ev-properties-main.c @@ -89,18 +89,13 @@ ev_properties_get_pages (NautilusPropertyPageProvider *provider, char *uri = NULL; GtkWidget *page, *label; NautilusPropertyPage *property_page; - GType type = G_TYPE_INVALID; - + /* only add properties page if a single file is selected */ if (files == NULL || files->next != NULL) goto end; file = files->data; /* okay, make the page */ - - if (document == NULL) - goto end; - uri = nautilus_file_info_get_uri (file); document = ev_document_factory_get_document (uri, &error);