]> www.fi.muni.cz Git - evince.git/blobdiff - properties/ev-properties-main.c
Bump requirements to gtk 2.8 and drop all idfefs used.
[evince.git] / properties / ev-properties-main.c
index f726591b4fa07810f4e9ae6c5097495e7ab0d79d..3b1e8e06eb3b490a03d55d26c6fa40fa21873cef 100644 (file)
@@ -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);