summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-02-14 06:41:08 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-02-14 06:41:08 +0100
commit8ac4674a8eef0493443383da49c2f604c73b0b17 (patch)
tree654555a5e0cbda323e8554d92ee4e8319bb8efe1
parent0841e75076a98feecd2da1d48e2a2f340512feca (diff)
downloadlogdiag-8ac4674a8eef0493443383da49c2f604c73b0b17.tar.gz
logdiag-8ac4674a8eef0493443383da49c2f604c73b0b17.tar.xz
logdiag-8ac4674a8eef0493443383da49c2f604c73b0b17.zip
Fix ld-types.h for gtk-doc.
-rw-r--r--liblogdiag/ld-types.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/liblogdiag/ld-types.h b/liblogdiag/ld-types.h
index 30590e7..9a6b011 100644
--- a/liblogdiag/ld-types.h
+++ b/liblogdiag/ld-types.h
@@ -18,10 +18,6 @@ G_BEGIN_DECLS
#define LD_TYPE_POINT_ARRAY (ld_point_array_get_type ())
#define LD_TYPE_RECTANGLE (ld_rectangle_get_type ())
-typedef struct _LdPoint LdPoint;
-typedef struct _LdPointArray LdPointArray;
-typedef struct _LdRectangle LdRectangle;
-
/**
* LdPoint:
@@ -30,10 +26,11 @@ typedef struct _LdRectangle LdRectangle;
*
* Defines a point.
*/
-struct _LdPoint
+typedef struct
{
gdouble x, y;
-};
+}
+LdPoint;
GType ld_point_get_type (void) G_GNUC_CONST;
@@ -50,12 +47,13 @@ gdouble ld_point_distance (const LdPoint *self, gdouble x, gdouble y);
*
* Defines an array of points.
*/
-struct _LdPointArray
+typedef struct
{
LdPoint *points;
guint length;
guint size;
-};
+}
+LdPointArray;
GType ld_point_array_get_type (void) G_GNUC_CONST;
@@ -78,11 +76,12 @@ void ld_point_array_set_size (LdPointArray *self, guint size);
*
* Defines a rectangle.
*/
-struct _LdRectangle
+typedef struct
{
gdouble x, y;
gdouble width, height;
-};
+}
+LdRectangle;
GType ld_rectangle_get_type (void) G_GNUC_CONST;