[nautilus-actions] NAIOptionsList: fix comments



commit 3d239d334b35f69add35c286a4d60e0c00d4eafc
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Jan 13 08:52:48 2012 +0100

    NAIOptionsList: fix comments

 ChangeLog                   |    2 ++
 src/core/na-ioptions-list.c |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0185808..b959315 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-01-13 Pierre Wieser <pwieser trychlos org>
 
+	* src/core/na-ioptions-list.c: Fix comments.
+
 	* src/core/na-ioption.c (get_ioption_data):
 	Set the initialization flag after the weak ref on the instance.
 
diff --git a/src/core/na-ioptions-list.c b/src/core/na-ioptions-list.c
index a4158b1..5bba790 100644
--- a/src/core/na-ioptions-list.c
+++ b/src/core/na-ioptions-list.c
@@ -56,6 +56,11 @@ enum {
 };
 
 /* data associated to the container of the instance
+ *
+ * Note that data may be set against the instance itself (has it been
+ * initialized ?), at the container level or at the option level. It
+ * is not really worth to have a dedicated structure (because we should
+ * actually have three!).
  */
 #define IOPTIONS_LIST_DATA_EDITABLE			"ioptions-list-data-editable"
 #define IOPTIONS_LIST_DATA_FIRST_BUTTON		"ioptions-list-data-first-button"



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