[evince] [shell] Remove unused variable and code



commit a4d15b5b968d25ecbf94f1a6ebb2490b528d271d
Author: Hib Eris <hib hiberis nl>
Date:   Thu May 27 14:41:48 2010 +0200

    [shell] Remove unused variable and code

 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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]