summaryrefslogtreecommitdiff
path: root/telepathy-glib/debug.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 18:49:08 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 20:19:35 +0100
commit2cc2520bcfa36c834dab111ebf41637bbfc8371f (patch)
tree17f9ed7c7ae3bdbfa839936bcec1b4c4073ff7ba /telepathy-glib/debug.h
parentbf6922353b10e50b62ae7a26d9a727fe5f5bf763 (diff)
downloadtelepathy-glib-2cc2520bcfa36c834dab111ebf41637bbfc8371f.tar.gz
Use _TP_DEPRECATED_IN_* for most deprecated functions
Also make use of TP_DISABLE_DEPRECATED consistent: always wrap deprecated functions, and add deprecation decorators to any wrapped function.
Diffstat (limited to 'telepathy-glib/debug.h')
-rw-r--r--telepathy-glib/debug.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/telepathy-glib/debug.h b/telepathy-glib/debug.h
index 1f7a24dc6..d04e2dbfb 100644
--- a/telepathy-glib/debug.h
+++ b/telepathy-glib/debug.h
@@ -16,11 +16,14 @@ void tp_debug_timestamped_log_handler (const gchar *log_domain,
GLogLevelFlags log_level, const gchar *message, gpointer ignored);
#ifndef TP_DISABLE_DEPRECATED
-void tp_debug_set_flags_from_string (const gchar *flags_string)
- _TP_GNUC_DEPRECATED;
-void tp_debug_set_flags_from_env (const gchar *var)
- _TP_GNUC_DEPRECATED;
-void tp_debug_set_all_flags (void) _TP_GNUC_DEPRECATED;
+_TP_DEPRECATED
+void tp_debug_set_flags_from_string (const gchar *flags_string);
+
+_TP_DEPRECATED
+void tp_debug_set_flags_from_env (const gchar *var);
+
+_TP_DEPRECATED
+void tp_debug_set_all_flags (void);
#endif
G_END_DECLS