[goocanvas] Fixed a few documentation issues.



commit 14aa843aa964723e550e04aa3e0d9a38d654a142
Author: Damon Chaplin <damon gnome org>
Date:   Tue Aug 20 14:29:47 2013 +0100

    Fixed a few documentation issues.

 ChangeLog                 |    7 ++++++-
 docs/goocanvas2-docs.sgml |    1 +
 src/goocanvas.h           |    1 -
 src/goocanvasitem.h       |    1 -
 src/goocanvasitemmodel.h  |    1 -
 src/goocanvasitemsimple.h |    4 ----
 src/goocanvaspolyline.h   |    1 -
 src/goocanvasutils.h      |    5 -----
 8 files changed, 7 insertions(+), 14 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d8066d2..f06bf6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,13 @@
+2013-08-20  Damon Chaplin  <damon gnome org>
+
+       * src/*.h: fixed a few documentation issues.
+       * docs/goocanvas2-docs.sgml: added annotation glossary.
+
 2013-07-18  Damon Chaplin  <damon gnome org>
 
        * src/goocanvas.c (paint_static_items, goo_canvas_draw): tried to
        fix drawing code to work with new GTK+ 3.9 drawing code. I'm not sure
-       it is 100% there yet, but the demo seems OK.
+       it is 100% there yet, but the demo seems OK. Bug #700674.
 
 2013-03-28  Murray Cumming  <murrayc murrayc com>
 
diff --git a/docs/goocanvas2-docs.sgml b/docs/goocanvas2-docs.sgml
index 1e4aaa7..d7a4c64 100644
--- a/docs/goocanvas2-docs.sgml
+++ b/docs/goocanvas2-docs.sgml
@@ -57,5 +57,6 @@
   <chapter>
     <title>Miscellaneous</title>
     <xi:include href="xml/goocanvasutils.xml"/>
+    <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
   </chapter>
 </book>
diff --git a/src/goocanvas.h b/src/goocanvas.h
index 9e342b0..d7f9695 100644
--- a/src/goocanvas.h
+++ b/src/goocanvas.h
@@ -163,7 +163,6 @@ struct _GooCanvas
 
 /**
  * GooCanvasClass:
- *
  * @create_item: a virtual method that subclasses may override to create custom
  *  canvas items for item models.
  * @item_created: signal emitted when a new canvas item has been created.
diff --git a/src/goocanvasitem.h b/src/goocanvasitem.h
index 2f435c1..01bdac3 100644
--- a/src/goocanvasitem.h
+++ b/src/goocanvasitem.h
@@ -78,7 +78,6 @@ typedef struct _GooCanvasItem       GooCanvasItem;
 
 /**
  * GooCanvasItemIface:
- *
  * @get_canvas: returns the canvas the item is in.
  * @set_canvas: sets the canvas the item is in.
  * @get_n_children: returns the number of children of the item.
diff --git a/src/goocanvasitemmodel.h b/src/goocanvasitemmodel.h
index de374c9..42d90e3 100644
--- a/src/goocanvasitemmodel.h
+++ b/src/goocanvasitemmodel.h
@@ -34,7 +34,6 @@ G_BEGIN_DECLS
 
 /**
  * GooCanvasItemModelIface:
- *
  * @get_n_children: returns the number of children of the model.
  * @get_child: returns the child at the given index.
  * @add_child: adds a child.
diff --git a/src/goocanvasitemsimple.h b/src/goocanvasitemsimple.h
index 534d71b..15f7eea 100644
--- a/src/goocanvasitemsimple.h
+++ b/src/goocanvasitemsimple.h
@@ -18,7 +18,6 @@ G_BEGIN_DECLS
 
 /**
  * GooCanvasItemSimpleData:
- *
  * @style: the style to draw with.
  * @transform: the transformation matrix of the item, or %NULL.
  * @clip_path_commands: an array of #GooCanvasPathCommand specifying the clip
@@ -78,7 +77,6 @@ typedef struct _GooCanvasItemModelSimple       GooCanvasItemModelSimple;
 
 /**
  * GooCanvasItemSimple:
- *
  * @canvas: the canvas.
  * @parent: the parent item.
  * @model: the item's model, if it has one.
@@ -114,7 +112,6 @@ struct _GooCanvasItemSimple
 
 /**
  * GooCanvasItemSimpleClass:
- *
  * @simple_create_path: simple subclasses that draw basic shapes and paths only
  *  need to override this one method. It creates the path for the item.
  *  All updating, painting and hit-testing is provided automatically by the
@@ -206,7 +203,6 @@ typedef struct _GooCanvasItemModelSimpleClass  GooCanvasItemModelSimpleClass;
 
 /**
  * GooCanvasItemModelSimple:
- *
  * @parent: the parent model.
  * @simple_data: data used by the canvas item for viewing the model.
  *
diff --git a/src/goocanvaspolyline.h b/src/goocanvaspolyline.h
index a33d3a3..ea68903 100644
--- a/src/goocanvaspolyline.h
+++ b/src/goocanvaspolyline.h
@@ -15,7 +15,6 @@ G_BEGIN_DECLS
 
 /**
  * GooCanvasPoints:
- *
  * @coords: the coordinates of the points, in pairs.
  * @num_points: the number of points.
  * @ref_count: the reference count of the struct.
diff --git a/src/goocanvasutils.h b/src/goocanvasutils.h
index 65700af..d890330 100644
--- a/src/goocanvasutils.h
+++ b/src/goocanvasutils.h
@@ -18,7 +18,6 @@ G_BEGIN_DECLS
 
 /**
  * GooCanvasPointerEvents:
- *
  * @GOO_CANVAS_EVENTS_VISIBLE_MASK: a mask indicating that the item only
  *  receives events when it is visible.
  * @GOO_CANVAS_EVENTS_PAINTED_MASK: a mask indicating that the item only
@@ -68,7 +67,6 @@ typedef enum
 
 /**
  * GooCanvasItemVisibility:
- *
  * @GOO_CANVAS_ITEM_HIDDEN: the item is invisible, and is not allocated any
  *  space in layout container items such as #GooCanvasTable.
  * @GOO_CANVAS_ITEM_INVISIBLE: the item is invisible, but it is still allocated
@@ -94,7 +92,6 @@ typedef enum
 
 /**
  * GooCanvasPathCommandType:
- *
  * @GOO_CANVAS_PATH_MOVE_TO: move to the given point.
  * @GOO_CANVAS_PATH_CLOSE_PATH: close the current path, drawing a line from the
  *  current position to the start of the path.
@@ -144,7 +141,6 @@ typedef enum
 
 /**
  * GooCanvasAnchorType:
- *
  * @GOO_CANVAS_ANCHOR_CENTER: the anchor is in the center of the object.
  * @GOO_CANVAS_ANCHOR_NORTH: the anchor is at the top of the object, centered horizontally.
  * @GOO_CANVAS_ANCHOR_NORTH_WEST: the anchor is at the top-left of the object.
@@ -240,7 +236,6 @@ typedef struct _GooCanvasLineDash GooCanvasLineDash;
 
 /**
  * GooCanvasLineDash:
- *
  * @ref_count: the reference count of the struct.
  * @num_dashes: the number of dashes and gaps between them.
  * @dashes: the sizes of each dash and gap.


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