]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Remove unused variable and code
authorHib Eris <hib@hiberis.nl>
Thu, 27 May 2010 12:41:48 +0000 (14:41 +0200)
committerHib Eris <hib@hiberis.nl>
Thu, 27 May 2010 12:41:48 +0000 (14:41 +0200)
shell/ev-window.c

index b4e87394b2768c25b0b16980af3562adcdbeee0d..d4057b115bc97b05451917f10b254ff21db7b858 100644 (file)
@@ -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 */