[telepathy-glib/master] Disable old tp_debug_foo API if TP_DISABLE_DEPRECATED
Simon McVittie
simon.mcvittie at collabora.co.uk
Sun Aug 16 05:45:35 PDT 2009
We already disabled tp_get_bus_proxy under the same circumstances.
---
telepathy-glib/debug.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/debug.h b/telepathy-glib/debug.h
index 1ec2df0..8bc2953 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
--
1.5.6.5
More information about the telepathy-commits
mailing list