[glib] Fix some introspection warnings



commit 4482977238ae80f64c2fe318d1500f4662c73980
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 16 14:45:34 2014 -0600

    Fix some introspection warnings

 gio/gapplication.c    |    2 +-
 gio/gapplication.h    |    2 +-
 gio/gdesktopappinfo.c |    3 +++
 gio/gmenumodel.h      |    2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 9546ae8..baca6aa 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 30995e2..eac1bbb 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 4a9aac2..582a5dc 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 d34b232..56db677 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.
  */


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