From 8ac4674a8eef0493443383da49c2f604c73b0b17 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 14 Feb 2011 06:41:08 +0100
Subject: Fix ld-types.h for gtk-doc.
---
liblogdiag/ld-types.h | 19 +++++++++----------
1 file 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;
--
cgit v1.2.3-70-g09d2