Fix some introspection warnings

This commit is contained in:
Jasper St. Pierre 2014-09-16 14:45:34 -06:00
parent 0177cece40
commit 4482977238
4 changed files with 6 additions and 3 deletions

View File

@ -1722,7 +1722,7 @@ g_application_get_resource_base_path (GApplication *application)
*/ */
void void
g_application_set_resource_base_path (GApplication *application, 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 (G_IS_APPLICATION (application));
g_return_if_fail (resource_path == NULL || g_str_has_prefix (resource_path, "/")); g_return_if_fail (resource_path == NULL || g_str_has_prefix (resource_path, "/"));

View File

@ -159,7 +159,7 @@ GLIB_AVAILABLE_IN_2_42
const gchar * g_application_get_resource_base_path (GApplication *application); const gchar * g_application_get_resource_base_path (GApplication *application);
GLIB_AVAILABLE_IN_2_42 GLIB_AVAILABLE_IN_2_42
void g_application_set_resource_base_path (GApplication *application, void g_application_set_resource_base_path (GApplication *application,
const gchar *resource_base_path); const gchar *resource_path);
GLIB_DEPRECATED GLIB_DEPRECATED
void g_application_set_action_group (GApplication *application, void g_application_set_action_group (GApplication *application,

View 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 * An application implements an interface if that interface is listed in
* the Implements= line of the desktop file of the application. * the Implements= line of the desktop file of the application.
* *
* Returns: (element-type GDesktopAppInfo) (transfer full): a list of #GDesktopAppInfo
* objects.
*
* Since: 2.42 * Since: 2.42
**/ **/
GList * GList *

View File

@ -151,7 +151,7 @@ struct _GMenuModel
* GMenuModelClass::get_item_links: * GMenuModelClass::get_item_links:
* @model: the #GMenuModel to query * @model: the #GMenuModel to query
* @item_index: The #GMenuItem 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. * Gets all the links associated with the item in the menu model.
*/ */