[glib] Fix malformed GTK-Doc comment blocks: add missing colons.
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix malformed GTK-Doc comment blocks: add missing colons.
- Date: Thu, 5 Apr 2012 13:28:36 +0000 (UTC)
commit 8e740f726faf659df912c0c496eb5de80f1695ad
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Mon Apr 2 17:16:35 2012 +0200
Fix malformed GTK-Doc comment blocks: add missing colons.
Found these thanks to improved gobject-introspection GTK-Doc
comment block/annotation parser from:
https://bugzilla.gnome.org/show_bug.cgi?id=672254
https://bugzilla.gnome.org/show_bug.cgi?id=673385
gio/gdesktopappinfo.c | 2 +-
gio/gfile.c | 2 +-
gio/gfileinfo.c | 2 +-
gio/gmountoperation.c | 2 +-
gio/gproxyaddress.c | 8 ++++----
glib/gmem.c | 2 +-
glib/gqueue.c | 2 +-
glib/gscanner.c | 2 +-
glib/gtestutils.c | 4 ++--
glib/gurifuncs.h | 2 +-
10 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 449c114..4afa6dc 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -238,7 +238,7 @@ g_desktop_app_info_class_init (GDesktopAppInfoClass *klass)
gobject_class->finalize = g_desktop_app_info_finalize;
/**
- * GDesktopAppInfo:filename
+ * GDesktopAppInfo:filename:
*
* The origin filename of this #GDesktopAppInfo
*/
diff --git a/gio/gfile.c b/gio/gfile.c
index 7e963ca..52f9add 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -3323,7 +3323,7 @@ g_file_move (GFile *source,
}
/**
- * g_file_make_directory
+ * g_file_make_directory:
* @file: input #GFile.
* @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
* @error: a #GError, or %NULL
diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c
index 2ad185e..3e957b9 100644
--- a/gio/gfileinfo.c
+++ b/gio/gfileinfo.c
@@ -2006,7 +2006,7 @@ g_file_info_set_size (GFileInfo *info,
}
/**
- * g_file_info_set_modification_time
+ * g_file_info_set_modification_time:
* @info: a #GFileInfo.
* @mtime: a #GTimeVal.
*
diff --git a/gio/gmountoperation.c b/gio/gmountoperation.c
index 5b29bbb..a769e98 100644
--- a/gio/gmountoperation.c
+++ b/gio/gmountoperation.c
@@ -483,7 +483,7 @@ g_mount_operation_new (void)
}
/**
- * g_mount_operation_get_username
+ * g_mount_operation_get_username:
* @op: a #GMountOperation.
*
* Get the user name from the mount operation.
diff --git a/gio/gproxyaddress.c b/gio/gproxyaddress.c
index 68ef294..723cae5 100644
--- a/gio/gproxyaddress.c
+++ b/gio/gproxyaddress.c
@@ -283,7 +283,7 @@ g_proxy_address_get_protocol (GProxyAddress *proxy)
}
/**
- * g_proxy_address_get_destination_hostname
+ * g_proxy_address_get_destination_hostname:
* @proxy: a #GProxyAddress
*
* Gets @proxy's destination hostname.
@@ -299,7 +299,7 @@ g_proxy_address_get_destination_hostname (GProxyAddress *proxy)
}
/**
- * g_proxy_address_get_destination_port
+ * g_proxy_address_get_destination_port:
* @proxy: a #GProxyAddress
*
* Gets @proxy's destination port.
@@ -315,7 +315,7 @@ g_proxy_address_get_destination_port (GProxyAddress *proxy)
}
/**
- * g_proxy_address_get_username
+ * g_proxy_address_get_username:
* @proxy: a #GProxyAddress
*
* Gets @proxy's username.
@@ -331,7 +331,7 @@ g_proxy_address_get_username (GProxyAddress *proxy)
}
/**
- * g_proxy_address_get_password
+ * g_proxy_address_get_password:
* @proxy: a #GProxyAddress
*
* Gets @proxy's password.
diff --git a/glib/gmem.c b/glib/gmem.c
index bdb788c..afb94c1 100644
--- a/glib/gmem.c
+++ b/glib/gmem.c
@@ -494,7 +494,7 @@ fallback_calloc (gsize n_blocks,
static gboolean vtable_set = FALSE;
/**
- * g_mem_is_system_malloc
+ * g_mem_is_system_malloc:
*
* Checks whether the allocator used by g_malloc() is the system's
* malloc implementation. If it returns %TRUE memory allocated with
diff --git a/glib/gqueue.c b/glib/gqueue.c
index d9ee3a8..64117eb 100644
--- a/glib/gqueue.c
+++ b/glib/gqueue.c
@@ -794,7 +794,7 @@ g_queue_link_index (GQueue *queue,
}
/**
- * g_queue_unlink
+ * g_queue_unlink:
* @queue: a #GQueue
* @link_: a #GList link that <emphasis>must</emphasis> be part of @queue
*
diff --git a/glib/gscanner.c b/glib/gscanner.c
index c933e6d..ce56142 100644
--- a/glib/gscanner.c
+++ b/glib/gscanner.c
@@ -659,7 +659,7 @@ g_scanner_lookup_internal (GScanner *scanner,
}
/**
- * g_scanner_add_symbol
+ * g_scanner_add_symbol:
* @scanner: a #GScanner
* @symbol: the symbol to add
* @value: the value of the symbol
diff --git a/glib/gtestutils.c b/glib/gtestutils.c
index c1644cc..fffa4f4 100644
--- a/glib/gtestutils.c
+++ b/glib/gtestutils.c
@@ -2482,7 +2482,7 @@ g_test_log_buffer_new (void)
}
/**
- * g_test_log_buffer_free
+ * g_test_log_buffer_free:
*
* Internal function for gtester to free test log messages, no ABI guarantees provided.
*/
@@ -2497,7 +2497,7 @@ g_test_log_buffer_free (GTestLogBuffer *tbuffer)
}
/**
- * g_test_log_buffer_push
+ * g_test_log_buffer_push:
*
* Internal function for gtester to decode test log messages, no ABI guarantees provided.
*/
diff --git a/glib/gurifuncs.h b/glib/gurifuncs.h
index 8097806..6e6b739 100644
--- a/glib/gurifuncs.h
+++ b/glib/gurifuncs.h
@@ -39,7 +39,7 @@ G_BEGIN_DECLS
#define G_URI_RESERVED_CHARS_GENERIC_DELIMITERS ":/?#[]@"
/**
- * G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
+ * G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS:
*
* Subcomponent delimiter characters as defined in RFC 3986. Includes "!$&'()*+,;=".
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]