[vinagre] Add the protocol to the host string, so that vinagre_connection_new_from_string()
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Add the protocol to the host string, so that vinagre_connection_new_from_string()
- Date: Thu, 30 Jul 2009 12:20:26 +0000 (UTC)
commit 559293aabf4e84c61ce46b5ca8d828e7e6a2bf75
Author: Arnaud Maillet <arnaud maillet collabora co uk>
Date: Wed Jul 29 15:54:06 2009 +0200
Add the protocol to the host string, so that vinagre_connection_new_from_string()
can work correctly in the future
vinagre/vinagre-tube-handler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vinagre/vinagre-tube-handler.c b/vinagre/vinagre-tube-handler.c
index 347f930..ccb77b3 100644
--- a/vinagre/vinagre-tube-handler.c
+++ b/vinagre/vinagre-tube-handler.c
@@ -243,7 +243,7 @@ vinagre_tube_handler_accept_stream_tube_cb (TpChannel *channel,
port_s = g_strdup_printf ("%u", port);
- host = g_strconcat (hostname, ":", port_s, NULL);
+ host = g_strconcat ("vnc://", hostname, ":", port_s, NULL);
conn = vinagre_connection_new_from_string (host, &error_conn_msg, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]