[vinagre] Use the new version of vinagre_connection_split_string()



commit 6f913128805a4327d519d930a42adcbd6176155a
Author: Jonh Wendell <jwendell gnome org>
Date:   Fri Jul 31 21:28:18 2009 -0300

    Use the new version of vinagre_connection_split_string()

 plugins/vnc/vinagre-vnc-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/vnc/vinagre-vnc-plugin.c b/plugins/vnc/vinagre-vnc-plugin.c
index 8a96683..d83bd05 100644
--- a/plugins/vnc/vinagre-vnc-plugin.c
+++ b/plugins/vnc/vinagre-vnc-plugin.c
@@ -150,7 +150,7 @@ impl_new_connection_from_file (VinagrePlugin *plugin,
   port = g_key_file_get_integer (file, "connection", "port", NULL);
   if (!port)
     {
-      if (!vinagre_connection_split_string (host, &protocol, &actual_host, &port, error_msg))
+      if (!vinagre_connection_split_string (host, "vnc", &protocol, &actual_host, &port, error_msg))
 	goto the_end;
 
       g_free (host);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]