mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 11:42:10 +01:00
glib/gwin32.c: Silence a Deprecation Warning
Since we are already building a deprecated function for compatibility reasons, we don't really need to see a warning when it uses another deprecated GLib function.
This commit is contained in:
parent
3af58d2e9f
commit
6011d0a4ae
@ -483,7 +483,9 @@ g_win32_get_package_installation_subdirectory (const gchar *package,
|
|||||||
gchar *prefix;
|
gchar *prefix;
|
||||||
gchar *dirname;
|
gchar *dirname;
|
||||||
|
|
||||||
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||||
prefix = g_win32_get_package_installation_directory (package, dll_name);
|
prefix = g_win32_get_package_installation_directory (package, dll_name);
|
||||||
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
|
|
||||||
dirname = g_build_filename (prefix, subdir, NULL);
|
dirname = g_build_filename (prefix, subdir, NULL);
|
||||||
g_free (prefix);
|
g_free (prefix);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user