From 70f641411b2fbab930b481ac844984819b48805d Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Sat, 13 May 2006 03:54:09 +0000 Subject: Bump requirements to gtk 2.8 and drop all idfefs used. * configure.ac: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/ev-application.c: (ev_application_open_window), (ev_application_open_uri_at_dest): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb), (ev_sidebar_thumbnails_use_icon_view), (page_changed_cb): * shell/ev-utils.c: (save_print_config_to_file): * shell/ev-window.c: (ev_window_cmd_save_as), (ev_attachment_popup_cmd_save_attachment_as): * shell/main.c: (load_files_remote): Bump requirements to gtk 2.8 and drop all idfefs used. --- (limited to 'properties') diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index f726591..3b1e8e0 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); -- cgit v0.9.1