[goffice] Doc fixes.



commit 9df9e823773df72f61c187120256c8cb9a4e7829
Author: Morten Welinder <terra gnome org>
Date:   Wed Mar 20 18:31:49 2013 -0400

    Doc fixes.

 docs/reference/goffice-0.10-sections.txt |    1 -
 goffice/canvas/goc-styled-item.c         |    2 +-
 goffice/utils/datetime.c                 |   25 -------------------------
 goffice/utils/datetime.h                 |   17 +++++++++++++++++
 4 files changed, 18 insertions(+), 27 deletions(-)
---
diff --git a/docs/reference/goffice-0.10-sections.txt b/docs/reference/goffice-0.10-sections.txt
index f5bbbfd..33f0fde 100644
--- a/docs/reference/goffice-0.10-sections.txt
+++ b/docs/reference/goffice-0.10-sections.txt
@@ -1144,7 +1144,6 @@ GOGeometryRotationType
 GOGeometrySide
 GO_GEOMETRY_ANGLE_TOLERANCE
 GODirection
-GO_TYPE_DIRECTION
 go_direction_get_name
 go_direction_is_forward
 go_direction_is_horizontal
diff --git a/goffice/canvas/goc-styled-item.c b/goffice/canvas/goc-styled-item.c
index 3721160..ea759be 100644
--- a/goffice/canvas/goc-styled-item.c
+++ b/goffice/canvas/goc-styled-item.c
@@ -291,7 +291,7 @@ goc_styled_item_set_cairo_line  (GocStyledItem const *gsi, cairo_t *cr)
 }
 
 /**
- * goc_styled_item_set_scale_line_width:
+ * goc_styled_item_get_scale_line_width:
  * @gsi: #GocStyledItem
  *
  * This function returns %TRUE if the line width needs to be scaled. It will
diff --git a/goffice/utils/datetime.c b/goffice/utils/datetime.c
index 3a2c1fc..0fe0bcc 100644
--- a/goffice/utils/datetime.c
+++ b/goffice/utils/datetime.c
@@ -33,31 +33,6 @@
 #define SECS_PER_DAY (24 * 60 * 60)
 #define HALF_SEC (0.5 / SECS_PER_DAY)
 
-/**
- * GODateConventions:
- * @use_1904: use MacOffice 1904 based date convention,
- * rather than the Win32 style 1900.
- **/
-
-/**
- * GoCouponConvention:
- * @freq: frequency.
- * @basis: #GOBasisType
- * @eom: end of month.
- * @date_conv: #GODateConventions
- **/
-
-/**
- * GOBasisType:
- * @GO_BASIS_MSRB_30_360: US 30/360 (days in a month/days in a year)
- * @GO_BASIS_ACT_ACT: actual days/actual days
- * @GO_BASIS_ACT_360: actual days/360
- * @GO_BASIS_ACT_365: actual days/365
- * @GO_BASIS_30E_360: European 30/360
- * @GO_BASIS_30Ep_360: ?
- * @GO_BASIS_MSRB_30_360_SYM: ?
- **/
-
 /* ------------------------------------------------------------------------- */
 static GODateConventions *
 go_date_conventions_copy (GODateConventions const *dc)
diff --git a/goffice/utils/datetime.h b/goffice/utils/datetime.h
index f3b8797..efe9d1e 100644
--- a/goffice/utils/datetime.h
+++ b/goffice/utils/datetime.h
@@ -65,6 +65,16 @@ int go_date_g_years_between (GDate const *date1, GDate const *date2);
 /* week number according to the given method. */
 int go_date_weeknum (GDate const *date, int method);
 
+/**
+ * GOBasisType:
+ * @GO_BASIS_MSRB_30_360: US 30/360 (days in a month/days in a year)
+ * @GO_BASIS_ACT_ACT: actual days/actual days
+ * @GO_BASIS_ACT_360: actual days/360
+ * @GO_BASIS_ACT_365: actual days/365
+ * @GO_BASIS_30E_360: European 30/360
+ * @GO_BASIS_30Ep_360: ?
+ * @GO_BASIS_MSRB_30_360_SYM: ?
+ **/
 typedef enum { /* see doc/fn-financial-basis.txt for details */
        GO_BASIS_MSRB_30_360     = 0,
        GO_BASIS_ACT_ACT         = 1,
@@ -78,6 +88,13 @@ typedef enum { /* see doc/fn-financial-basis.txt for details */
 
 gint32  go_date_days_between_basis (GDate const *from, GDate const *to, GOBasisType basis);
 
+/**
+ * GoCouponConvention:
+ * @freq: frequency.
+ * @basis: #GOBasisType
+ * @eom: end of month.
+ * @date_conv: #GODateConventions
+ **/
 typedef struct {
        int      freq;
        GOBasisType  basis;


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