[gedit] GeditTab: remove dead code
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] GeditTab: remove dead code
- Date: Mon, 30 Dec 2013 15:53:35 +0000 (UTC)
commit 6fc77687506def16cf9607ded6c220e1e9c62f1f
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 dfb9698..84c4c0b 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -1312,9 +1312,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]