summaryrefslogtreecommitdiff
path: root/telepathy-glib/debug.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-08-16 13:45:35 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-08-16 15:28:43 +0100
commitc8a5852208e898462a4b2109801c335ced7a5ad1 (patch)
tree397497af652a9e02079fdffeb5cccbf9b715dde6 /telepathy-glib/debug.h
parent457a979d14bf2a9031ba4da89650ce97974f0b26 (diff)
downloadtelepathy-glib-c8a5852208e898462a4b2109801c335ced7a5ad1.tar.gz
Disable old tp_debug_foo API if TP_DISABLE_DEPRECATED
We already disabled tp_get_bus_proxy under the same circumstances.
Diffstat (limited to 'telepathy-glib/debug.h')
-rw-r--r--telepathy-glib/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-glib/debug.h b/telepathy-glib/debug.h
index 1ec2df0b5..8bc295353 100644
--- a/telepathy-glib/debug.h
+++ b/telepathy-glib/debug.h
@@ -14,11 +14,13 @@ void tp_debug_divert_messages (const gchar *filename);
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)
G_GNUC_DEPRECATED;
void tp_debug_set_flags_from_env (const gchar *var)
G_GNUC_DEPRECATED;
void tp_debug_set_all_flags (void) G_GNUC_DEPRECATED;
+#endif
G_END_DECLS