[gtk+/gtk-2.90] Clarify the comments that some fields in GtkFileSystemModel can be NULL



commit c6f962f2be5d27f54a6b5f6fe6a32429661dc8fd
Author: Federico Mena Quintero <federico novell com>
Date:   Wed Aug 26 19:27:40 2009 -0500

    Clarify the comments that some fields in GtkFileSystemModel can be NULL
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 gtk/gtkfilesystemmodel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index dfc20df..c4b91ec 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -65,8 +65,8 @@ struct _GtkFileSystemModel
 
   GFile *               dir;            /* directory that's displayed */
   guint                 dir_thaw_source;/* GSource id for unfreezing the model */
-  char *                attributes;     /* attributes the file info must contain */
-  GFileMonitor *        dir_monitor;    /* directory that is monitored */
+  char *                attributes;     /* attributes the file info must contain, or NULL for all attributes */
+  GFileMonitor *        dir_monitor;    /* directory that is monitored, or NULL if monitoring was not supported */
 
   GCancellable *        cancellable;    /* cancellable in use for all operations - cancelled on dispose */
   GArray *              files;          /* array of FileModelNode containing all our files */



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