[glib] Avoid a deprecation warning



commit b4474c0b6bd8aee7140259c9753162b66c954a03
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 19 08:21:50 2014 -0500

    Avoid a deprecation warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711547

 glib/gwin32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/gwin32.c b/glib/gwin32.c
index 67cfd1d..0cc1181 100644
--- a/glib/gwin32.c
+++ b/glib/gwin32.c
@@ -463,7 +463,9 @@ g_win32_get_package_installation_subdirectory_utf8 (const gchar *package,
   gchar *prefix;
   gchar *dirname;
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   prefix = g_win32_get_package_installation_directory_utf8 (package, dll_name);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
   dirname = g_build_filename (prefix, subdir, NULL);
   g_free (prefix);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]