Add G_GNUC_DEPRECATED to deprecated APIs in glib

This commit is contained in:
Matthias Clasen
2011-10-08 23:16:01 -04:00
parent 30b320b61c
commit f9b29ca034
16 changed files with 84 additions and 84 deletions

View File

@@ -234,7 +234,7 @@ const gchar * g_path_skip_root (const gchar *file_name);
#ifndef G_DISABLE_DEPRECATED
const gchar * g_basename (const gchar *file_name);
const gchar * g_basename (const gchar *file_name) G_GNUC_DEPRECATED_FOR(g_path_get_basename);
#define g_dirname g_path_get_dirname
#endif /* G_DISABLE_DEPRECATED */