projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3af58d2
)
glib/gwin32.c: Silence a Deprecation Warning
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 13 Dec 2013 08:21:00 +0000
(16:21 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 13 Dec 2013 08:21:00 +0000
(16:21 +0800)
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.
glib/gwin32.c
patch
|
blob
|
history
diff --git
a/glib/gwin32.c
b/glib/gwin32.c
index
97eccd7
..
01e6445
100644
(file)
--- a/
glib/gwin32.c
+++ b/
glib/gwin32.c
@@
-483,7
+483,9
@@
g_win32_get_package_installation_subdirectory (const gchar *package,
gchar *prefix;
gchar *dirname;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
prefix = g_win32_get_package_installation_directory (package, dll_name);
+ G_GNUC_END_IGNORE_DEPRECATIONS
dirname = g_build_filename (prefix, subdir, NULL);
g_free (prefix);