--- a/gplugin/gplugin-plugin-info.c Mon Jul 31 22:22:21 2017 -0500
+++ b/gplugin/gplugin-plugin-info.c Mon Jul 31 22:42:40 2017 -0500
@@ -21,6 +21,14 @@
#include <gplugin/gplugin-enums.h>
#include <gplugin/gplugin-private.h>
+ * SECTION:gplugin-plugin-info + * @Title: Plugin Info Objects + * @Short_description: information about plugins + * #GPluginPluginInfo holds metadata for plugins. #define GPLUGIN_PLUGIN_INFO_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), GPLUGIN_TYPE_PLUGIN_INFO, GPluginPluginInfoPrivate))
@@ -782,7 +790,9 @@
* gplugin_plugin_info_get_id:
* @info: #GPluginPluginInfo instance
- * Return value: The id from @info.
+ * Returns the id that the plugin identifies itself as. + * Returns: The id from @info. gplugin_plugin_info_get_id(const GPluginPluginInfo *info) {
@@ -799,7 +809,10 @@
* gplugin_plugin_info_get_abi_version:
* @info: #GPluginPluginInfo instance
- * Return value: The abi_version from @info.
+ * Returns the ABI or Application Binary Interface version that the plugin + * is supposed to work against. + * Returns: The abi_version from @info. gplugin_plugin_info_get_abi_version(const GPluginPluginInfo *info) {
@@ -816,7 +829,11 @@
* gplugin_plugin_info_get_internal:
* @info: #GPluginPluginInfo instance
- * Return value: Whether or not this plugin is considered an internal plugin
+ * Returns where or not this plugin is is considered an internal plugin. An + * internal plugin would be something like a plugin loader or another plugin + * that should not be shown to users. + * Returns: TRUE if the plugin is internal, FALSE otherwise. gplugin_plugin_info_get_internal(const GPluginPluginInfo *info) {
@@ -833,7 +850,12 @@
* gplugin_plugin_info_get_load_on_query:
* @info: #GPluginPluginInfo instance
- * Return value: Whether or not this plugin should be loaded when queried
+ * Returns whether or not this plugin should be loaded when queried. This is + * useful for internal plugins that are adding functionality and should always + * be turned on. The plugin loaders use this to make sure all plugins can + * Returns: TRUE if the plugin should be loaded on query, FALSE otherwise. gplugin_plugin_info_get_load_on_query(const GPluginPluginInfo *info) {
@@ -850,7 +872,9 @@
* gplugin_plugin_info_get_name:
* @info: #GPluginPluginInfo instance
- * Return value: The name from @info.
+ * Returns the name of the plugin as specified in @info. + * Returns: The name from @info. gplugin_plugin_info_get_name(const GPluginPluginInfo *info) {
@@ -867,7 +891,9 @@
* gplugin_plugin_info_get_version:
* @info: #GPluginPluginInfo instance
- * Return value: The version from @info.
+ * Returns the version of the plugin as specified in @info. + * Returns: The version from @info. gplugin_plugin_info_get_version(const GPluginPluginInfo *info) {
@@ -884,6 +910,9 @@
* gplugin_plugin_info_get_version_func: (skip)
* @info: #GPluginPluginInfo instance
+ * Returns the #GPluginVersionCompareFunc used to compare versions of the * Returns: The #GPluginVersionCompareFunc that can compare versions of this
@@ -902,7 +931,9 @@
* gplugin_plugin_info_get_license_id:
* @info: #GPluginPluginInfo instance
- * Return value: The license-id from @info.
+ * Returns the liences id for the plugin as specified in @info. + * Returns: The license-id from @info. gplugin_plugin_info_get_license_id(const GPluginPluginInfo *info) {
@@ -919,7 +950,9 @@
* gplugin_plugin_info_get_license_text:
* @info: #GPluginPluginInfo instance
- * Return value: The text of the license from @info.
+ * Returns the license text for the plugin as specified in @info. + * Returns: The text of the license from @info. gplugin_plugin_info_get_license_text(const GPluginPluginInfo *info) {
@@ -936,7 +969,9 @@
* gplugin_plugin_info_get_license_url:
* @info: #GPluginPluginInfo instance
- * Return value: The url of the license from @info.
+ * Returns the url of the license for the plugin as specified in @info + * Returns: The url of the license from @info. gplugin_plugin_info_get_license_url(const GPluginPluginInfo *info) {
@@ -953,7 +988,9 @@
* gplugin_plugin_info_get_icon:
* @info: #GPluginPluginInfo instance
- * Return value: The icon from @info.
+ * Returns the name of the icon for the plugin as specified in @info. + * Returns: The icon from @info. gplugin_plugin_info_get_icon(const GPluginPluginInfo *info) {
@@ -970,7 +1007,9 @@
* gplugin_plugin_info_get_summary:
* @info: #GPluginPluginInfo instance
- * Return value: The summary from @info.
+ * Returns the summery for the plugin as specified in @info. + * Returns: The summary from @info. gplugin_plugin_info_get_summary(const GPluginPluginInfo *info) {
@@ -987,7 +1026,9 @@
* gplugin_plugin_info_get_description:
* @info: #GPluginPluginInfo instance
- * Return value: The description from @info.
+ * Returns the description for the plugin as specified in @info. + * Returns: The description from @info. gplugin_plugin_info_get_description(const GPluginPluginInfo *info) {
@@ -1004,7 +1045,9 @@
* gplugin_plugin_info_get_category:
* @info: #GPluginPluginInfo instance
- * Return value: The category from @info.
+ * Returns the category of the plugin as specified in @info. + * Returns: The category from @info. gplugin_plugin_info_get_category(const GPluginPluginInfo *info) {
@@ -1021,8 +1064,9 @@
* gplugin_plugin_info_get_authors:
* @info: #GPluginPluginInfo instance
- * Return value: (array zero-terminated=1) (transfer none): The authors from
+ * Returns the authors of the plugin as specified in @info. + * Returns: (array zero-terminated=1) (transfer none): The authors from @info. gplugin_plugin_info_get_authors(const GPluginPluginInfo *info) {
@@ -1039,7 +1083,9 @@
* gplugin_plugin_info_get_help:
* @info: #GPluginPluginInfo instance
- * Return value: The help from @info.
+ * Returns the help text for the plugin as specified in @info. + * Returns: The help from @info. gplugin_plugin_info_get_help(const GPluginPluginInfo *info) {
@@ -1056,7 +1102,9 @@
* gplugin_plugin_info_get_website:
* @info: #GPluginPluginInfo instance
- * Return value: The website from @info.
+ * Returns the website for the plugin as specified in @info. + * Returns: The website from @info. gplugin_plugin_info_get_website(const GPluginPluginInfo *info) {
@@ -1073,8 +1121,10 @@
* gplugin_plugin_info_get_dependencies:
* @info: #GPluginPluginInfo instance
- * Return value: (array zero-terminated=1) (transfer none): The list of
- * dependencies from @info.
+ * Returns the dependencies of the plugins as specified in @info. + * Returns: (array zero-terminated=1) (transfer none): The list of + * dependencies from @info. gplugin_plugin_info_get_dependencies(const GPluginPluginInfo *info) {
@@ -1093,9 +1143,8 @@
* This function is only used by the native plugin loader.
- * Return value: TRUE if the plugin has requested to be loaded with it's
- * symbols bound locally, FALSE if they should bind be bound
+ * Returns: TRUE if the plugin has requested to be loaded with it's symbols + * bound locally, FALSE if they should bind be bound globally. gplugin_plugin_info_get_bind_local(const GPluginPluginInfo *info) {