# HG changeset patch
# User melunko
# Date 1165370817 0
# Node ID 0d1244aabe171fb5aa1c4ece453590d9e882e109
# Parent  cc92e11a0c7177c68684ad3bdf484e2931ea5ddb
[svn r202] gmyth_file_transfer_uri were using gmyth_uri directly to create the backend_info. Now it calls gmyth_backend_info_with_uri(str)

diff -r cc92e11a0c71 -r 0d1244aabe17 gmyth/src/gmyth_file_transfer.c
--- a/gmyth/src/gmyth_file_transfer.c	Wed Dec 06 01:32:43 2006 +0000
+++ b/gmyth/src/gmyth_file_transfer.c	Wed Dec 06 02:06:57 2006 +0000
@@ -33,7 +33,6 @@
  */
 
 #include "gmyth_file_transfer.h"
-#include "gmyth_uri.h"
 #include "gmyth_livetv.h"
 #include "gmyth_util.h"
 #include "gmyth_socket.h"
@@ -189,12 +188,9 @@
 gmyth_file_transfer_new_with_uri (const gchar* uri_str)
 {
   GMythFileTransfer *transfer = GMYTH_FILE_TRANSFER (g_object_new (GMYTH_FILE_TRANSFER_TYPE, NULL));
-  GMythURI *uri = gmyth_uri_new_with_value (uri_str);
 
-  transfer->backend_info = gmyth_backend_info_new_full (gmyth_uri_get_host(uri),
-    NULL, NULL, NULL, gmyth_uri_get_port (uri));
+  transfer->backend_info = gmyth_backend_info_new_with_uri (uri_str);
 
-  g_object_unref (uri);
   return transfer;
 }