[gedit] tab: remove hack when loading from a stream



commit 4c03501c0460dd432f8b82b79e86af1c65d951b3
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jun 14 14:15:22 2015 +0200

    tab: remove hack when loading from a stream
    
    It is now done at the right place in GtkSourceView.

 gedit/gedit-tab.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index 50534d0..0b0216f 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -1846,12 +1846,6 @@ successful_load (GeditTab *tab)
                set_info_bar (tab, info_bar, GTK_RESPONSE_CANCEL);
        }
 
-       if (location == NULL)
-       {
-               /* FIXME: hackish */
-               gtk_text_buffer_set_modified (GTK_TEXT_BUFFER (doc), TRUE);
-       }
-
        tab->ask_if_externally_modified = TRUE;
 
        g_signal_emit_by_name (doc, "loaded");


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