summaryrefslogtreecommitdiff
path: root/glib/gutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gutils.h')
-rw-r--r--glib/gutils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/glib/gutils.h b/glib/gutils.h
index b1c1460a0..b3657011d 100644
--- a/glib/gutils.h
+++ b/glib/gutils.h
@@ -214,7 +214,6 @@ gchar *g_format_size (guint64 size);
#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_format_size)
gchar *g_format_size_for_display (goffset size);
-#endif
/**
* GVoidFunc:
@@ -234,6 +233,7 @@ typedef void (*GVoidFunc) (void);
* (if there is any in the implementation) and doesn't encounter
* missing include files.
*/
+GLIB_DEPRECATED
void g_atexit (GVoidFunc func);
#ifdef G_OS_WIN32
@@ -249,6 +249,8 @@ int atexit (void (*)(void));
#define g_atexit(func) atexit(func)
#endif
+#endif /* G_DISABLE_DEPRECATED */
+
#ifndef __GTK_DOC_IGNORE__
#ifdef G_OS_WIN32
#define g_find_program_in_path g_find_program_in_path_utf8