[glib] Fix docs for D-Bus introspection data structures



commit 6d54505b2d0e873fa69f1e2fdba1e23c5136f7f3
Author: David Zeuthen <davidz redhat com>
Date:   Fri Jun 3 14:39:04 2011 -0400

    Fix docs for D-Bus introspection data structures
    
    Mark structs as boxed types and use /*< public >*/ so the struct
    members are properly shown.
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 docs/reference/gio/gio.types |    7 +++++++
 gio/gdbusintrospection.h     |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gio/gio.types b/docs/reference/gio/gio.types
index 3a798f3..335e0eb 100644
--- a/docs/reference/gio/gio.types
+++ b/docs/reference/gio/gio.types
@@ -145,3 +145,10 @@ g_dbus_object_proxy_get_type
 g_dbus_object_manager_get_type
 g_dbus_object_manager_client_get_type
 g_dbus_object_manager_server_get_type
+g_dbus_annotation_info_get_type
+g_dbus_arg_info_get_type
+g_dbus_property_info_get_type
+g_dbus_signal_info_get_type
+g_dbus_method_info_get_type
+g_dbus_interface_info_get_type
+g_dbus_node_info_get_type
diff --git a/gio/gdbusintrospection.h b/gio/gdbusintrospection.h
index 31187eb..884c733 100644
--- a/gio/gdbusintrospection.h
+++ b/gio/gdbusintrospection.h
@@ -44,6 +44,7 @@ G_BEGIN_DECLS
  */
 struct _GDBusAnnotationInfo
 {
+  /*< public >*/
   volatile gint         ref_count;
   gchar                *key;
   gchar                *value;
@@ -63,6 +64,7 @@ struct _GDBusAnnotationInfo
  */
 struct _GDBusArgInfo
 {
+  /*< public >*/
   volatile gint         ref_count;
   gchar                *name;
   gchar                *signature;
@@ -83,6 +85,7 @@ struct _GDBusArgInfo
  */
 struct _GDBusMethodInfo
 {
+  /*< public >*/
   volatile gint         ref_count;
   gchar                *name;
   GDBusArgInfo        **in_args;
@@ -103,6 +106,7 @@ struct _GDBusMethodInfo
  */
 struct _GDBusSignalInfo
 {
+  /*< public >*/
   volatile gint         ref_count;
   gchar                *name;
   GDBusArgInfo        **args;
@@ -123,6 +127,7 @@ struct _GDBusSignalInfo
  */
 struct _GDBusPropertyInfo
 {
+  /*< public >*/
   volatile gint             ref_count;
   gchar                    *name;
   gchar                    *signature;
@@ -145,6 +150,7 @@ struct _GDBusPropertyInfo
  */
 struct _GDBusInterfaceInfo
 {
+  /*< public >*/
   volatile gint         ref_count;
   gchar                *name;
   GDBusMethodInfo     **methods;
@@ -167,6 +173,7 @@ struct _GDBusInterfaceInfo
  */
 struct _GDBusNodeInfo
 {
+  /*< public >*/
   volatile gint         ref_count;
   gchar                *path;
   GDBusInterfaceInfo  **interfaces;



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