Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/properties/ev-properties-main.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-05-13 03:54:09 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-05-13 03:54:09 (GMT)
commit70f641411b2fbab930b481ac844984819b48805d (patch)
tree9a5f411c0aed9a4ab71e8eb7ce4d32cbf0735b89 /properties/ev-properties-main.c
parentf222d19fbbd936de7f403eb29666b41e3447b48d (diff)
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.
Diffstat (limited to 'properties/ev-properties-main.c')
-rw-r--r--properties/ev-properties-main.c7
1 files changed, 1 insertions, 6 deletions
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);