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
(parent:
b01af10
)
Silence a deprecation warning
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 30 Jan 2012 19:18:07 +0000
(14:18 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 30 Jan 2012 19:18:07 +0000
(14:18 -0500)
Advantage of the new deprecation handling: there's pragmas
to shut them up locally.
gio/giomodule.c
patch
|
blob
|
history
diff --git
a/gio/giomodule.c
b/gio/giomodule.c
index
c7b16f8
..
9c3fdf0
100644
(file)
--- a/
gio/giomodule.c
+++ b/
gio/giomodule.c
@@
-823,8
+823,11
@@
_g_io_modules_ensure_extension_points_registered (void)
#ifdef G_OS_UNIX
#if !GLIB_CHECK_VERSION (3, 0, 0)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
ep = g_io_extension_point_register (G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME);
g_io_extension_point_set_required_type (ep, G_TYPE_DESKTOP_APP_INFO_LOOKUP);
+#pragma GCC diagnostic pop
#endif
#endif