From c35651093e7e647c64dc2d54e870c4b8ddf6bc8b Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Tue, 12 Jan 2010 21:05:02 +0800 Subject: [PATCH] Fix gtk-doc problems. --- src/ibusattrlist.h | 2 +- src/ibusobject.h | 8 -------- src/ibusproperty.h | 4 ++++ src/ibusproplist.h | 7 ++++--- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/ibusattrlist.h b/src/ibusattrlist.h index f34c390..6518d44 100644 --- a/src/ibusattrlist.h +++ b/src/ibusattrlist.h @@ -19,7 +19,7 @@ * Boston, MA 02111-1307, USA. */ /** - * SECTION: ibusattribute + * SECTION: ibusattrlist * @short_description: AttrList of IBusText. * @see_also: #IBusAttribute #IBusText * @stability: Stable diff --git a/src/ibusobject.h b/src/ibusobject.h index 1c2f3d3..ecda1b9 100644 --- a/src/ibusobject.h +++ b/src/ibusobject.h @@ -28,14 +28,6 @@ #ifndef __IBUS_OBJECT_H_ #define __IBUS_OBJECT_H_ -/** - * SECTION: IBusObject - * @short_description: Base object of IBus. - * - * - * This module provides essential definition and functions for manipulating - * IBus base object. - */ #include #include "ibusmarshalers.h" #include "ibustypes.h" diff --git a/src/ibusproperty.h b/src/ibusproperty.h index 9727722..a14d7b9 100644 --- a/src/ibusproperty.h +++ b/src/ibusproperty.h @@ -106,8 +106,12 @@ typedef enum { typedef struct _IBusProperty IBusProperty; typedef struct _IBusPropertyClass IBusPropertyClass; + +#ifndef __PROPLIST_DEFINED +#define __PROPLIST_DEFINED typedef struct _IBusPropList IBusPropList; typedef struct _IBusPropListClass IBusPropListClass; +#endif /** * IBusProperty: diff --git a/src/ibusproplist.h b/src/ibusproplist.h index 4d75fbc..04f8b48 100644 --- a/src/ibusproplist.h +++ b/src/ibusproplist.h @@ -19,7 +19,7 @@ * Boston, MA 02111-1307, USA. */ /** - * SECTION: ibusproperty + * SECTION: ibusproplist * @short_description: UI component for input method engine property. * @stability: Stable * @see_also: #IBusEngine @@ -50,10 +50,11 @@ G_BEGIN_DECLS #define IBUS_PROP_LIST_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_PROP_LIST, IBusPropListClass)) -/* +#ifndef __PROPLIST_DEFINED +#define __PROPLIST_DEFINED typedef struct _IBusPropList IBusPropList; typedef struct _IBusPropListClass IBusPropListClass; -*/ +#endif /** * IBusPropList: -- 2.7.4