From: Hib Eris Date: Thu, 27 May 2010 12:41:48 +0000 (+0200) Subject: [shell] Remove unused variable and code X-Git-Tag: EVINCE_2_31_3~22 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=a4d15b5b968d25ecbf94f1a6ebb2490b528d271d [shell] Remove unused variable and code --- diff --git a/shell/ev-window.c b/shell/ev-window.c index b4e87394..d4057b11 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 */