summaryrefslogtreecommitdiff
path: root/telepathy-glib/dbus.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-30 15:36:35 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-30 15:59:42 +0000
commitd3064170721ff89d451cb4a6b984e04638af0a0e (patch)
treec2efe74913228dd63c4f73f284f5e3f1fa33be93 /telepathy-glib/dbus.h
parent6ea30f102666da62243e6de42328e0da3a7be6f4 (diff)
downloadtelepathy-glib-d3064170721ff89d451cb4a6b984e04638af0a0e.tar.gz
tp_get_bus_proxy: deprecate
We don't want API users to rely on getting a DBusGProxy for the dbus-daemon, since that's always going to require binding to all signals on the interface.
Diffstat (limited to 'telepathy-glib/dbus.h')
-rw-r--r--telepathy-glib/dbus.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/telepathy-glib/dbus.h b/telepathy-glib/dbus.h
index 6104817f6..3be2bee2b 100644
--- a/telepathy-glib/dbus.h
+++ b/telepathy-glib/dbus.h
@@ -28,7 +28,6 @@ G_BEGIN_DECLS
void tp_dbus_g_method_return_not_implemented (DBusGMethodInvocation *context);
DBusGConnection * tp_get_bus (void);
-DBusGProxy * tp_get_bus_proxy (void);
/* TpDBusDaemon is typedef'd in proxy.h */
typedef struct _TpDBusDaemonPrivate TpDBusDaemonPrivate;
@@ -126,4 +125,8 @@ G_END_DECLS
#include <telepathy-glib/_gen/tp-cli-dbus-daemon.h>
+#ifndef TP_DISABLE_DEPRECATED
+DBusGProxy * tp_get_bus_proxy (void) G_GNUC_DEPRECATED;
+#endif
+
#endif /* __TELEPATHY_DBUS_H__ */