[gedit/wip/loader-saver] GeditDocument: add a TODO comment



commit f46bdbdcbc530d8b66104b40b10d212fb30747fa
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Jun 26 23:12:56 2014 +0200

    GeditDocument: add a TODO comment

 gedit/gedit-document.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index 02d9e7c..0e9b646 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -70,10 +70,6 @@ struct _GeditDocumentPrivate
         */
        GtkSourceSearchContext *search_context;
 
-       /* Temp data while loading */
-       gboolean             create; /* Create file if uri points
-                                     * to a non existing file */
-
        /* Mount operation factory */
        GeditMountOperationFactory  mount_operation_factory;
        gpointer                    mount_operation_userdata;
@@ -88,6 +84,12 @@ struct _GeditDocumentPrivate
         * actions.
         */
        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.
+        */
+       /* Create file if location points to a non existing file. */
+       guint create : 1;
 };
 
 enum


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