gdesktopappinfo: Add deprecation version to GDesktopAppInfoLookup

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-05-27 18:09:08 +01:00
parent c53342c4a1
commit 9bfd7e2a9d
2 changed files with 8 additions and 1 deletions

View File

@ -4555,6 +4555,9 @@ g_app_info_get_all (void)
* *
* #GDesktopAppInfoLookup is an opaque data structure and can only be accessed * #GDesktopAppInfoLookup is an opaque data structure and can only be accessed
* using the following functions. * using the following functions.
*
* Deprecated: 2.28: The #GDesktopAppInfoLookup interface is deprecated and
* unused by GIO.
**/ **/
G_GNUC_BEGIN_IGNORE_DEPRECATIONS G_GNUC_BEGIN_IGNORE_DEPRECATIONS
@ -4585,7 +4588,8 @@ g_desktop_app_info_lookup_default_init (GDesktopAppInfoLookupInterface *iface)
* *
* Returns: (transfer full): #GAppInfo for given @uri_scheme or %NULL on error. * Returns: (transfer full): #GAppInfo for given @uri_scheme or %NULL on error.
* *
* Deprecated: The #GDesktopAppInfoLookup interface is deprecated and unused by gio. * Deprecated: 2.28: The #GDesktopAppInfoLookup interface is deprecated and
* unused by GIO.
*/ */
GAppInfo * GAppInfo *
g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup, g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,

View File

@ -118,6 +118,9 @@ gchar * g_desktop_app_info_get_action_name (GDeskto
* *
* Extension point for default handler to URI association. See * Extension point for default handler to URI association. See
* [Extending GIO][extending-gio]. * [Extending GIO][extending-gio].
*
* Deprecated: 2.28: The #GDesktopAppInfoLookup interface is deprecated and
* unused by GIO.
*/ */
#define G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME "gio-desktop-app-info-lookup" #define G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME "gio-desktop-app-info-lookup"