summaryrefslogtreecommitdiff
path: root/telepathy-glib/dbus-daemon.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-05 17:06:04 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-05 17:06:04 +0200
commit70fb1639522213b9f2b62c98f840b6c0f895dba2 (patch)
treee772c22fa506d5fdcb50d23f176915da3dbb8ede /telepathy-glib/dbus-daemon.c
parent9a6db8f51aec46b62226a8db2375147d4c2fc577 (diff)
downloadtelepathy-glib-70fb1639522213b9f2b62c98f840b6c0f895dba2.tar.gz
add _tp_dbus_daemon_is_the_shared_one as internal API
Diffstat (limited to 'telepathy-glib/dbus-daemon.c')
-rw-r--r--telepathy-glib/dbus-daemon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/telepathy-glib/dbus-daemon.c b/telepathy-glib/dbus-daemon.c
index 4a0f67067..fafeff6f1 100644
--- a/telepathy-glib/dbus-daemon.c
+++ b/telepathy-glib/dbus-daemon.c
@@ -1425,5 +1425,11 @@ tp_dbus_daemon_class_init (TpDBusDaemonClass *klass)
proxy_class->interface = TP_IFACE_QUARK_DBUS_DAEMON;
}
+gboolean
+_tp_dbus_daemon_is_the_shared_one (TpDBusDaemon *self)
+{
+ return (self != NULL && self == starter_bus_daemon);
+}
+
/* Auto-generated implementation of _tp_register_dbus_glib_marshallers */
#include "_gen/register-dbus-glib-marshallers-body.h"