[libgsf] Introspection: fix all warning I see.



commit 210acb2031669030abdbcee15b758d59e48d5e73
Author: Morten Welinder <terra gnome org>
Date:   Sun Feb 24 08:42:15 2013 -0500

    Introspection: fix all warning I see.

 NEWS                 |    1 +
 gsf/gsf-impl-utils.h |    8 ++++----
 gsf/gsf-meta-names.h |    4 ++--
 gsf/gsf-output-gio.c |    8 ++++----
 gsf/gsf-utils.c      |    4 ++--
 gsf/gsf-utils.h      |   40 ++++++++++++++++++++--------------------
 6 files changed, 33 insertions(+), 32 deletions(-)
---
diff --git a/NEWS b/NEWS
index 7c3c772..20d6911 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Morten:
        * Speed up ole writing a bit.
        * Header cleanup.  gsf/gsf.h is now main header.  [#684608]
        * GsfInput doc improvements.  [#540521]
+       * Introspection fixes.
 
 Paolo Bonzini:
        * Fix gsf_input_dep for msole streams.  [#689706]
diff --git a/gsf/gsf-impl-utils.h b/gsf/gsf-impl-utils.h
index 047d0b5..911493d 100644
--- a/gsf/gsf-impl-utils.h
+++ b/gsf/gsf-impl-utils.h
@@ -68,11 +68,11 @@ prefix ## _get_type (void)                                          \
 
 /**
  * GSF_CLASS:
- * @name: (string) Name of the class.
- * @prefix: (string) Prefix designating the namespace to be used for
+ * @name: Name of the class.
+ * @prefix: Symbol prefix designating the namespace to be used for
  * implementing the class.
- * @class_init: (#GClassInitFunc) Initialisation function for the class.
- * @instance_init: (#GInstanceInitFunc) Initialisation (constructor) function
+ * @class_init: Initialisation function of type #GClassInitFunc for the class.
+ * @instance_init: Initialisation function of type #GInstanceInitFunc
  * for an instance of the class.
  * @parent: Parent class to this class.
  *
diff --git a/gsf/gsf-meta-names.h b/gsf/gsf-meta-names.h
index 5e1fc34..fa716d6 100644
--- a/gsf/gsf-meta-names.h
+++ b/gsf/gsf-meta-names.h
@@ -112,7 +112,7 @@
 #define GSF_META_NAME_BYTE_COUNT                       "gsf:byte-count"
 
 /**
- * GSF_META_NAME_CASE_SENSITIVE
+ * GSF_META_NAME_CASE_SENSITIVE:
  *
  * (Unsigned Integer) Identifier representing the case-sensitiveness.
  * <note>of what ?? why is it an integer ??</note>
@@ -120,7 +120,7 @@
 #define GSF_META_NAME_CASE_SENSITIVE                   "gsf:case-sensitivity"
 
 /**
- * GSF_META_NAME_CATEGORY
+ * GSF_META_NAME_CATEGORY:
  *
  * (String) Category of the document. <note>example???</note>
  */
diff --git a/gsf/gsf-output-gio.c b/gsf/gsf-output-gio.c
index 0025751..1d54ea2 100644
--- a/gsf/gsf-output-gio.c
+++ b/gsf/gsf-output-gio.c
@@ -56,7 +56,7 @@ wrap_if_not_seekable (GsfOutputGio *output, GError **err)
 }
 
 /**
- * gsf_input_gio_new:
+ * gsf_output_gio_new_full:
  * @file: an existing GFile
  *
  * Returns: A new #GsfOutputGio or NULL
@@ -83,7 +83,7 @@ gsf_output_gio_new_full (GFile *file, GError **err)
 }
 
 /**
- * gsf_input_gio_new:
+ * gsf_output_gio_new:
  * @file: an existing GFile
  *
  * Returns: A new #GsfOutputGio or NULL
@@ -95,7 +95,7 @@ gsf_output_gio_new (GFile *file)
 }
 
 /**
- * gsf_input_gio_new_for_path:
+ * gsf_output_gio_new_for_path:
  * @path:
  * @err: optionally NULL.
  *
@@ -123,7 +123,7 @@ gsf_output_gio_new_for_path (char const *path, GError **err)
 }
 
 /**
- * gsf_input_gio_new_for_uri:
+ * gsf_output_gio_new_for_uri:
  * @uri:
  * @err: optionally NULL.
  *
diff --git a/gsf/gsf-utils.c b/gsf/gsf-utils.c
index 3c989d7..da744fa 100644
--- a/gsf/gsf-utils.c
+++ b/gsf/gsf-utils.c
@@ -229,7 +229,7 @@ gsf_init_dynamic (GTypeModule *module)
 }
 
 /**
- * gsf_shutdown:
+ * gsf_shutdown_dynamic:
  *
  * De-intializes the GSF library from a type module.
  * Currently does nothing.
@@ -317,7 +317,7 @@ gsf_input_dump (GsfInput *input, gboolean dump_as_hex)
 }
 
 /**
- * gsf_le_get_guint64
+ * gsf_le_get_guint64:
  * @p: pointer to storage
  *
  * Interpret binary data as a guint64 (8 byte unsigned integer type) in little
diff --git a/gsf/gsf-utils.h b/gsf/gsf-utils.h
index 83d1be2..a0b3db9 100644
--- a/gsf/gsf-utils.h
+++ b/gsf/gsf-utils.h
@@ -29,7 +29,7 @@ G_BEGIN_DECLS
 /* Do this the ugly way so that we don't have to worry about alignment */
 
 /**
- * GSF_LE_GET_GUINT8
+ * GSF_LE_GET_GUINT8:
  * @p: pointer to storage
  *
  * Interpret binary data as an unsigned 8-bit integer in little endian order.
@@ -39,7 +39,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_GUINT8(p) (*(guint8 const *)(p))
 
 /**
- * GSF_LE_GET_GUINT16
+ * GSF_LE_GET_GUINT16:
  * @p: pointer to storage
  *
  * Interpret binary data as an unsigned 16-bit integer in little endian order.
@@ -51,7 +51,7 @@ G_BEGIN_DECLS
                  (((guint8 const *)(p))[1] << 8))
 
 /**
- * GSF_LE_GET_GUINT32
+ * GSF_LE_GET_GUINT32:
  * @p: pointer to storage
  *
  * Interpret binary data as an unsigned 32-bit integer in little endian order.
@@ -65,7 +65,7 @@ G_BEGIN_DECLS
                  (((guint8 const *)(p))[3] << 24))
 
 /**
- * GSF_LE_GET_GUINT64
+ * GSF_LE_GET_GUINT64:
  * @p: pointer to storage
  *
  * Interpret binary data as an unsigned 64-bit integer in little endian order.
@@ -75,7 +75,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_GUINT64(p) (gsf_le_get_guint64 (p))
 
 /**
- * GSF_LE_GET_GINT8
+ * GSF_LE_GET_GINT8:
  * @p: pointer to storage
  *
  * Interpret binary data as a signed 8-bit integer in little endian order.
@@ -85,7 +85,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_GINT8(p) ((gint8)GSF_LE_GET_GUINT8(p))
 
 /**
- * GSF_LE_GET_GINT16
+ * GSF_LE_GET_GINT16:
  * @p: pointer to storage
  *
  * Interpret binary data as a signed 16-bit integer in little endian order.
@@ -95,7 +95,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_GINT16(p) ((gint16)GSF_LE_GET_GUINT16(p))
 
 /**
- * GSF_LE_GET_GINT32
+ * GSF_LE_GET_GINT32:
  * @p: pointer to storage
  *
  * Interpret binary data as a signed 32-bit integer in little endian order.
@@ -105,7 +105,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_GINT32(p) ((gint32)GSF_LE_GET_GUINT32(p))
 
 /**
- * GSF_LE_GET_GINT64
+ * GSF_LE_GET_GINT64:
  * @p: pointer to storage
  *
  * Interpret binary data as a signed 64-bit integer in little endian order.
@@ -115,7 +115,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_GINT64(p) ((gint64)GSF_LE_GET_GUINT64(p))
 
 /**
- * GSF_LE_GET_FLOAT
+ * GSF_LE_GET_FLOAT:
  * @p: pointer to storage
  *
  * Interpret binary data as a float in little endian order.
@@ -125,7 +125,7 @@ G_BEGIN_DECLS
 #define GSF_LE_GET_FLOAT(p) (gsf_le_get_float (p))
 
 /**
- * GSF_LE_GET_DOUBLE
+ * GSF_LE_GET_DOUBLE:
  * @p: pointer to storage
  *
  * Interpret binary data as a double in little endian order.
@@ -139,7 +139,7 @@ float   gsf_le_get_float   (void const *p);
 double  gsf_le_get_double  (void const *p);
 
 /**
- * GSF_LE_SET_GUINT8
+ * GSF_LE_SET_GUINT8:
  * @p: pointer to storage
  * @dat: 8-bit unsigned integer
  *
@@ -149,7 +149,7 @@ double  gsf_le_get_double  (void const *p);
        (*((guint8 *)(p))      = ((dat)        & 0xff))
 
 /**
- * GSF_LE_SET_GUINT16
+ * GSF_LE_SET_GUINT16:
  * @p: pointer to storage
  * @dat: 16-bit unsigned integer
  *
@@ -160,7 +160,7 @@ double  gsf_le_get_double  (void const *p);
         (*((guint8 *)(p) + 1) = ((dat) >>  8) & 0xff))
 
 /**
- * GSF_LE_SET_GUINT32
+ * GSF_LE_SET_GUINT32:
  * @p: pointer to storage
  * @dat: 32-bit unsigned integer
  *
@@ -173,7 +173,7 @@ double  gsf_le_get_double  (void const *p);
         (*((guint8 *)(p) + 3) = (guchar) ((dat) >> 24) & 0xff))
 
 /**
- * GSF_LE_SET_GUINT64
+ * GSF_LE_SET_GUINT64:
  * @p: pointer to storage
  * @dat: 64-bit unsigned integer
  *
@@ -190,7 +190,7 @@ double  gsf_le_get_double  (void const *p);
         (*((guint8 *)(p) + 7) = (guchar) ((dat) >> 56) & 0xff))
 
 /**
- * GSF_LE_SET_GINT8
+ * GSF_LE_SET_GINT8:
  * @p: pointer to storage
  * @dat: 8-bit signed integer
  *
@@ -199,7 +199,7 @@ double  gsf_le_get_double  (void const *p);
 #define GSF_LE_SET_GINT8(p,dat) GSF_LE_SET_GUINT8((p),(dat))
 
 /**
- * GSF_LE_SET_GINT16
+ * GSF_LE_SET_GINT16:
  * @p: pointer to storage
  * @dat: 16-bit signed integer
  *
@@ -208,7 +208,7 @@ double  gsf_le_get_double  (void const *p);
 #define GSF_LE_SET_GINT16(p,dat) GSF_LE_SET_GUINT16((p),(dat))
 
 /**
- * GSF_LE_SET_GINT32
+ * GSF_LE_SET_GINT32:
  * @p: pointer to storage
  * @dat: 32-bit signed integer
  *
@@ -217,7 +217,7 @@ double  gsf_le_get_double  (void const *p);
 #define GSF_LE_SET_GINT32(p,dat) GSF_LE_SET_GUINT32((p),(dat))
 
 /**
- * GSF_LE_SET_GINT64
+ * GSF_LE_SET_GINT64:
  * @p: pointer to storage
  * @dat: 64-bit signed integer
  *
@@ -226,7 +226,7 @@ double  gsf_le_get_double  (void const *p);
 #define GSF_LE_SET_GINT64(p,dat) GSF_LE_SET_GUINT64((p),(dat))
 
 /**
- * GSF_LE_SET_FLOAT
+ * GSF_LE_SET_FLOAT:
  * @p: pointer to storage
  * @dat: float to be stored
  *
@@ -235,7 +235,7 @@ double  gsf_le_get_double  (void const *p);
 #define GSF_LE_SET_FLOAT(p,dat) gsf_le_set_float((p),(dat))
 
 /**
- * GSF_LE_SET_DOUBLE
+ * GSF_LE_SET_DOUBLE:
  * @p: pointer to storage
  * @dat: double to be stored
  *


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