[gedit/wip/loader-saver] Annotate the remaining TODO/FIXME for the port to GtkSourceFile



commit 86b7caf7034e8e6cb18cf4d8025c318500f47e23
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 28 22:21:47 2014 +0200

    Annotate the remaining TODO/FIXME for the port to GtkSourceFile

 gedit/gedit-document.c |    4 ++--
 gedit/gedit-tab.c      |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index da8680b..90510b3 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -79,8 +79,8 @@ struct _GeditDocumentPrivate
         */
        guint empty_search : 1;
 
-       /* TODO either set priv->create at the right places, or remove it if it
-        * is no longer useful or can be done outside GeditDocument.
+       /* TODO (swilmet) either set priv->create at the right places, or remove
+        * it if it is no longer useful or can be done outside GeditDocument.
         */
        /* Create file if location points to a non existing file. */
        guint create : 1;
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index a062188..eca6bc5 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -1663,7 +1663,7 @@ load_cb (GtkSourceFileLoader *loader,
 
        if (error != NULL)
        {
-               /* TODO remove when no longer needed. */
+               /* TODO (swilmet) remove when no longer needed. */
                g_warning ("File loading error: %s", error->message);
        }
 
@@ -2106,7 +2106,7 @@ save_cb (GtkSourceFileSaver *saver,
 
        if (error != NULL)
        {
-               /* TODO remove when no longer needed. */
+               /* TODO (swilmet) remove when no longer needed. */
                g_warning ("File saving error: %s", error->message);
        }
 
@@ -2338,9 +2338,9 @@ gedit_tab_auto_save (GeditTab *tab)
        /* Since we are autosaving, we need to preserve the backup that was produced
         * the last time the user "manually" saved the file. So we don't set the
         * CREATE_BACKUP flag for an automatic file saving.
-        * TODO In the case a recoverable error happens while saving, set the
-        * CREATE_BACKUP flag since the user expressed his willing of saving the
-        * file.
+        * TODO (swilmet) In the case a recoverable error happens while saving,
+        * set the CREATE_BACKUP flag since the user expressed his willing of
+        * saving the file.
         */
        gtk_source_file_saver_set_flags (tab->priv->saver,
                                         tab->priv->save_flags);
@@ -2392,7 +2392,7 @@ _gedit_tab_save_as (GeditTab                 *tab,
            !g_file_equal (prev_location, location))
        {
                /* Ignore modification time for a save to another location. */
-               /* TODO do that in GtkSourceFileSaver. */
+               /* TODO (swilmet) do that in GtkSourceFileSaver. */
                save_flags |= GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME;
        }
 


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