[goffice] more documentation issues.



commit d1c2283f3c319c0ca131a05635db1bf08fea566d
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Mar 8 11:46:01 2010 +0100

    more documentation issues.

 docs/reference/goffice-0.8-sections.txt |    1 +
 goffice/graph/gog-styled-object.c       |    8 +++++---
 goffice/graph/gog-styled-object.h       |    3 +++
 goffice/utils/go-styled-object.c        |    4 ++--
 4 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/goffice-0.8-sections.txt b/docs/reference/goffice-0.8-sections.txt
index 8be0fa4..8dfcf16 100644
--- a/docs/reference/goffice-0.8-sections.txt
+++ b/docs/reference/goffice-0.8-sections.txt
@@ -82,6 +82,7 @@ goffice_graph_debug_level
 <FILE>gog-styled-object</FILE>
 <TITLE>GogStyledObject</TITLE>
 <INCLUDE>goffice/graph/gog-styled-object.h</INCLUDE>
+GogStyle
 GogStyledObject
 GogStyledObjectClass
 <SUBSECTION Standard>
diff --git a/goffice/graph/gog-styled-object.c b/goffice/graph/gog-styled-object.c
index e9e519b..72ed072 100644
--- a/goffice/graph/gog-styled-object.c
+++ b/goffice/graph/gog-styled-object.c
@@ -36,9 +36,11 @@ enum {
 	LAST_SIGNAL
 };
 
-/* GogStyle object: this is a mere copy of GOStyle but is needed for file
- format compatibility */
-typedef GOStyle GogStyle;
+/**GogStyle:
+ * This is a mere copy of GOStyle but is needed for file
+ * format compatibility
+ **/
+typedef struct _GogStyle GogStyle;
 typedef GObjectClass GogStyleClass;
 GType gog_style_get_type (void);
 GSF_CLASS (GogStyle, gog_style,
diff --git a/goffice/graph/gog-styled-object.h b/goffice/graph/gog-styled-object.h
index f02e1c6..32fcbde 100644
--- a/goffice/graph/gog-styled-object.h
+++ b/goffice/graph/gog-styled-object.h
@@ -25,6 +25,9 @@
 
 G_BEGIN_DECLS
 
+/* deprecated, just there for file compatibility and to make gtk-doc happy */
+typedef struct _GogStyle GogStyle;
+
 struct _GogStyledObject {
 	GogObject	base;
 
diff --git a/goffice/utils/go-styled-object.c b/goffice/utils/go-styled-object.c
index 6305884..8450dfd 100644
--- a/goffice/utils/go-styled-object.c
+++ b/goffice/utils/go-styled-object.c
@@ -203,7 +203,7 @@ go_styled_object_get_document (GOStyledObject *gso)
 
 /**
  * go_styled_object_set_cairo_line :
- * @so: #GOStyledItem
+ * @so: #GOStyledObject
  * @cr: #cairo_t
  *
  * Prepares the cairo context @cr to draw a line according to the
@@ -223,7 +223,7 @@ go_styled_object_set_cairo_line (GOStyledObject const *so, cairo_t *cr)
 
 /**
  * go_styled_object_set_cairo_fill :
- * @so: #GOStyledItem
+ * @so: #GOStyledObject
  * @cr: #cairo_t
  *
  * Prepares the cairo context @cr to fill a shape according to the



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