diff options
author | Hib Eris <hib@hiberis.nl> | 2010-05-27 12:41:48 (GMT) |
---|---|---|
committer | Hib Eris <hib@hiberis.nl> | 2010-05-27 12:41:48 (GMT) |
commit | a4d15b5b968d25ecbf94f1a6ebb2490b528d271d (patch) | |
tree | f8a3f85440f4acc17f3388964c58cd23e6b0837e /shell | |
parent | 89c60efc704ab3d664cd65503b2f7429628962bc (diff) |
[shell] Remove unused variable and code
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index b4e8739..d4057b1 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -357,7 +357,6 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window) const EvDocumentInfo *info = NULL; gboolean has_document = FALSE; gboolean ok_to_print = TRUE; - gboolean ok_to_print_setup = TRUE; gboolean ok_to_copy = TRUE; gboolean has_properties = TRUE; gboolean override_restrictions = TRUE; @@ -407,11 +406,6 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window) gconf_client_get_bool (ev_window->priv->gconf_client, GCONF_LOCKDOWN_PRINT, NULL)) { ok_to_print = FALSE; } - - if (has_document && - gconf_client_get_bool (ev_window->priv->gconf_client, GCONF_LOCKDOWN_PRINT_SETUP, NULL)) { - ok_to_print_setup = FALSE; - } #endif /* File menu */ |