[Telepathy-commits] [telepathy-salut/master] Don't accept unique names as ServiceName for DTubes.
Will Thompson
will.thompson at collabora.co.uk
Fri Feb 6 03:15:01 PST 2009
---
src/salut-tubes-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/salut-tubes-manager.c b/src/salut-tubes-manager.c
index 5e962ef..5ea4d66 100644
--- a/src/salut-tubes-manager.c
+++ b/src/salut-tubes-manager.c
@@ -868,7 +868,8 @@ salut_tubes_manager_requestotron (SalutTubesManager *self,
goto error;
}
- if (!tp_dbus_check_valid_bus_name (service, TP_DBUS_NAME_TYPE_ANY, &err))
+ if (!tp_dbus_check_valid_bus_name (service, TP_DBUS_NAME_TYPE_WELL_KNOWN,
+ &err))
{
g_set_error (&error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
"Invalid ServiceName: %s", err->message);
--
1.5.6.5
More information about the telepathy-commits
mailing list