[devhelp/wip/swilmet/misc-improvements: 1/16] book: better document instance variables
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/misc-improvements: 1/16] book: better document instance variables
- Date: Mon, 25 May 2015 19:19:57 +0000 (UTC)
commit 5f8309097964ee0e8b91c2687989d0d0473deec0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun May 24 14:57:58 2015 +0200
book: better document instance variables
- remove useless comments (the field name is sufficient to know what it
is).
- for data structures, document the type stored.
https://bugzilla.gnome.org/show_bug.cgi?id=749797
src/dh-book.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/dh-book.c b/src/dh-book.c
index 63b1db9..175a6b3 100644
--- a/src/dh-book.c
+++ b/src/dh-book.c
@@ -50,27 +50,27 @@ typedef enum {
/* Structure defining basic contents to store about every book */
typedef struct {
- /* File path of the book */
gchar *path;
- /* Enable or disabled? */
gboolean enabled;
- /* Book name */
gchar *name;
- /* Book title */
gchar *title;
- /* Book language */
gchar *language;
- /* Generated book tree */
+
+ /* The book tree of DhLink* */
GNode *tree;
- /* Generated list of keywords in the book */
+
+ /* List of DhLink* */
GList *keywords;
- /* Generated list of keyword completions in the book */
+
+ /* Generated list of keyword completions (gchar*) in the book */
GList *completions;
/* Monitor of this specific book */
GFileMonitor *monitor;
+
/* Last received event */
DhBookMonitorEvent monitor_event;
+
/* ID of the event source */
guint monitor_event_timeout_id;
} DhBookPrivate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]