Fix some introspection warnings
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 16 Sep 2014 20:45:34 +0000 (14:45 -0600)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 16 Sep 2014 20:52:21 +0000 (14:52 -0600)
gio/gapplication.c
gio/gapplication.h
gio/gdesktopappinfo.c
gio/gmenumodel.h

index 9546ae8..baca6aa 100644 (file)
@@ -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, "/"));
index 30995e2..eac1bbb 100644 (file)
@@ -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,
index 4a9aac2..582a5dc 100644 (file)
@@ -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 *
index d34b232..56db677 100644 (file)
@@ -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.
  */