projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use G_DISABLE_DEPRECATED guards around deprecated functions
[platform/upstream/glib.git]
/
glib
/
gmappedfile.h
diff --git
a/glib/gmappedfile.h
b/glib/gmappedfile.h
index
0d3c0f9
..
f48b141
100644
(file)
--- a/
glib/gmappedfile.h
+++ b/
glib/gmappedfile.h
@@
-19,7
+19,7
@@
* Boston, MA 02111-1307, USA.
*/
* Boston, MA 02111-1307, USA.
*/
-#if
defined(G_DISABLE_SINGLE_INCLUDES) &&
!defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
#error "Only <glib.h> can be included directly."
#endif
@@
-43,9
+43,8
@@
gchar *g_mapped_file_get_contents (GMappedFile *file);
GMappedFile *g_mapped_file_ref (GMappedFile *file);
void g_mapped_file_unref (GMappedFile *file);
GMappedFile *g_mapped_file_ref (GMappedFile *file);
void g_mapped_file_unref (GMappedFile *file);
-#ifndef G_DISABLE_DEPRECATED
+GLIB_DEPRECATED_FOR(g_mapped_file_unref)
void g_mapped_file_free (GMappedFile *file);
void g_mapped_file_free (GMappedFile *file);
-#endif
G_END_DECLS
G_END_DECLS