[gnome-commander] noop: variable rename
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: variable rename
- Date: Thu, 6 Jan 2022 22:27:52 +0000 (UTC)
commit e3c601ccb153ec09d0f306999fca923655f6828f
Author: Uwe Scholz <u scholz83 gmx de>
Date: Tue Dec 14 22:20:40 2021 +0100
noop: variable rename
src/gnome-cmd-con-remote.cc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index 11bba8ca..acb2cad6 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -325,9 +325,9 @@ GtkType gnome_cmd_con_remote_get_type ()
*/
GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &uri_str)
{
- auto server = static_cast<GnomeCmdConRemote*> (g_object_new (GNOME_CMD_TYPE_CON_REMOTE, nullptr));
+ auto gnomeCmdConRemote = static_cast<GnomeCmdConRemote*> (g_object_new (GNOME_CMD_TYPE_CON_REMOTE,
nullptr));
- g_return_val_if_fail (server != nullptr, nullptr);
+ g_return_val_if_fail (gnomeCmdConRemote != nullptr, nullptr);
GError *error = nullptr;
@@ -357,7 +357,7 @@ GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &u
return nullptr;
}
- GnomeCmdCon *con = GNOME_CMD_CON (server);
+ GnomeCmdCon *con = GNOME_CMD_CON (gnomeCmdConRemote);
gnome_cmd_con_set_alias (con, alias);
gnome_cmd_con_set_uri (con, uri_str.c_str());
@@ -366,14 +366,14 @@ GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &u
gnome_cmd_con_set_port (con, port);
gnome_cmd_con_set_root_path (con, path);
- gnome_cmd_con_remote_set_tooltips (server, host);
+ gnome_cmd_con_remote_set_tooltips (gnomeCmdConRemote, host);
con->method = gnome_cmd_con_get_scheme (uri_str.c_str());
g_free (path);
g_free(host);
- return server;
+ return gnomeCmdConRemote;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]