[gedit/wip/reusable-code] GeditTab: remove dead code



commit 507402020c6b43c12bab1ebe84768e6a386d38c0
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Sep 16 17:40:44 2013 +0200

    GeditTab: remove dead code
    
    GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP is used only at this place. save_flags
    is never checked to see if it contains the flag.

 gedit/gedit-tab.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index 5ca5548..64f60a7 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -1314,9 +1314,6 @@ no_backup_error_info_bar_response (GtkWidget *info_bar,
 
                gedit_tab_set_state (tab, GEDIT_TAB_STATE_SAVING);
 
-               /* don't bug the user again with this... */
-               tab->priv->save_flags |= GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP;
-
                g_return_if_fail (tab->priv->auto_save_timeout <= 0);
 
                /* Force saving */


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