summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-09-16 14:45:34 -0600
committerJasper St. Pierre <jstpierre@mecheye.net>2014-09-16 14:52:21 -0600
commit4482977238ae80f64c2fe318d1500f4662c73980 (patch)
tree601e67618d64758dbf5291353894ba74644d437f /gio
parent0177cece40ab8a31bf8994706ac4cac8d80f8755 (diff)
downloadglib-4482977238ae80f64c2fe318d1500f4662c73980.tar.gz
Fix some introspection warnings
Diffstat (limited to 'gio')
-rw-r--r--gio/gapplication.c2
-rw-r--r--gio/gapplication.h2
-rw-r--r--gio/gdesktopappinfo.c3
-rw-r--r--gio/gmenumodel.h2
4 files changed, 6 insertions, 3 deletions
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 9546ae862..baca6aa3d 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -1722,7 +1722,7 @@ g_application_get_resource_base_path (GApplication *application)
*/
void
g_application_set_resource_base_path (GApplication *application,
- const gchar *resource_path)
+ const gchar *resource_path)
{
g_return_if_fail (G_IS_APPLICATION (application));
g_return_if_fail (resource_path == NULL || g_str_has_prefix (resource_path, "/"));
diff --git a/gio/gapplication.h b/gio/gapplication.h
index 30995e2f4..eac1bbbf2 100644
--- a/gio/gapplication.h
+++ b/gio/gapplication.h
@@ -159,7 +159,7 @@ GLIB_AVAILABLE_IN_2_42
const gchar * g_application_get_resource_base_path (GApplication *application);
GLIB_AVAILABLE_IN_2_42
void g_application_set_resource_base_path (GApplication *application,
- const gchar *resource_base_path);
+ const gchar *resource_path);
GLIB_DEPRECATED
void g_application_set_action_group (GApplication *application,
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 4a9aac257..582a5dcf0 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -4138,6 +4138,9 @@ g_app_info_get_default_for_uri_scheme (const char *uri_scheme)
* An application implements an interface if that interface is listed in
* the Implements= line of the desktop file of the application.
*
+ * Returns: (element-type GDesktopAppInfo) (transfer full): a list of #GDesktopAppInfo
+ * objects.
+ *
* Since: 2.42
**/
GList *
diff --git a/gio/gmenumodel.h b/gio/gmenumodel.h
index d34b23292..56db677aa 100644
--- a/gio/gmenumodel.h
+++ b/gio/gmenumodel.h
@@ -151,7 +151,7 @@ struct _GMenuModel
* GMenuModelClass::get_item_links:
* @model: the #GMenuModel to query
* @item_index: The #GMenuItem to query
- * @links: (out) (element-type utf8 GLib.MenuModel): Links from the item
+ * @links: (out) (element-type utf8 Gio.MenuModel): Links from the item
*
* Gets all the links associated with the item in the menu model.
*/