[gnome-commander] noop: code cleanup



commit 809b3627665f3f8900b54cc15b3cfd272e92195e
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Dec 13 22:43:16 2011 +0100

    noop: code cleanup

 src/gnome-cmd-con-remote.cc |    6 +++---
 src/gnome-cmd-con-remote.h  |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index 0bb4337..dc9bca6 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -237,9 +237,9 @@ GtkType gnome_cmd_con_remote_get_type ()
 }
 
 
-GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &text_uri)
+GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &uri_str)
 {
-    GnomeVFSURI *uri = gnome_vfs_uri_new (text_uri.c_str());
+    GnomeVFSURI *uri = gnome_vfs_uri_new (uri_str.c_str());
 
     g_return_val_if_fail (uri != NULL, NULL);
 
@@ -254,7 +254,7 @@ GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &t
     GnomeCmdCon *con = GNOME_CMD_CON (server);
 
     gnome_cmd_con_set_alias (con, alias);
-    gnome_cmd_con_set_uri (con, text_uri);
+    gnome_cmd_con_set_uri (con, uri_str);
     gnome_cmd_con_set_host_name (con, host);
     gnome_cmd_con_set_root_path (con, path);
 
diff --git a/src/gnome-cmd-con-remote.h b/src/gnome-cmd-con-remote.h
index fcf20f5..6aa6905 100644
--- a/src/gnome-cmd-con-remote.h
+++ b/src/gnome-cmd-con-remote.h
@@ -44,7 +44,7 @@ struct GnomeCmdConRemoteClass
 
 GtkType gnome_cmd_con_remote_get_type ();
 
-GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const std::string &uri);
+GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const std::string &uri_str);
 
 void gnome_cmd_con_remote_set_host_name (GnomeCmdConRemote *con, const gchar *host_name);
 



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