mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Silence another deprecation warning
This commit is contained in:
parent
5ae5fc85f4
commit
bdd0aada62
@ -3382,11 +3382,14 @@ GAppInfo *
|
||||
g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,
|
||||
const char *uri_scheme)
|
||||
{
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
GDesktopAppInfoLookupIface *iface;
|
||||
|
||||
|
||||
g_return_val_if_fail (G_IS_DESKTOP_APP_INFO_LOOKUP (lookup), NULL);
|
||||
|
||||
iface = G_DESKTOP_APP_INFO_LOOKUP_GET_IFACE (lookup);
|
||||
|
||||
return (* iface->get_default_for_uri_scheme) (lookup, uri_scheme);
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user