summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-07-12 01:19:55 +0200
committerXavier Claessens <xclaesse@gmail.com>2010-07-12 01:19:55 +0200
commit98e45484ff131c2d4c1fb1ea5244e112cd0994e8 (patch)
tree7778e9056e3e945cccbd61570cf67b50c6654b1a
parent7b39a690ff4162f0f3464f6c58c005a62d40840a (diff)
Randomize the client handler name
Otherwise we couldn't run multiple clients simultaneous
-rw-r--r--src/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 1b2352b..96bd664 100644
--- a/src/client.c
+++ b/src/client.c
@@ -284,7 +284,7 @@ main (gint argc, gchar *argv[])
/* Register an handler for the StreamTube channel we'll request */
dbus = tp_dbus_daemon_dup (NULL);
client = tp_simple_handler_new (dbus, FALSE, FALSE, "TelepathySSHClient",
- FALSE, got_channel_cb, NULL, NULL);
+ TRUE, got_channel_cb, NULL, NULL);
tp_base_client_take_handler_filter (client, tp_asv_new (
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_STREAM_TUBE,