gnome-commander r1588 - trunk/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1588 - trunk/src
- Date: Mon, 25 Feb 2008 16:45:05 +0000 (GMT)
Author: epiotr
Date: Mon Feb 25 16:45:05 2008
New Revision: 1588
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1588&view=rev
Log:
Code cleanup
Modified:
trunk/src/gnome-cmd-prepare-xfer-dialog.cc
Modified: trunk/src/gnome-cmd-prepare-xfer-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-prepare-xfer-dialog.cc (original)
+++ trunk/src/gnome-cmd-prepare-xfer-dialog.cc Mon Feb 25 16:45:05 2008
@@ -59,8 +59,7 @@
dest_path = user_path;
else
{
- gchar *tmp = gnome_cmd_file_get_path (GNOME_CMD_FILE (
- gnome_cmd_file_selector_get_directory (dialog->src_fs)));
+ gchar *tmp = gnome_cmd_file_get_path (GNOME_CMD_FILE (gnome_cmd_file_selector_get_directory (dialog->src_fs)));
dest_path = g_build_path (G_DIR_SEPARATOR_S, tmp, user_path, NULL);
g_free (user_path);
g_free (tmp);
@@ -68,7 +67,9 @@
// Check if something exists at the given path and find out what it is
GnomeVFSFileType type;
- GnomeVFSResult res = gnome_cmd_con_get_path_target_type (con, dest_path, &type);
+ GnomeVFSResult res;
+
+ res = gnome_cmd_con_get_path_target_type (con, dest_path, &type);
if (res != GNOME_VFS_OK && res != GNOME_VFS_ERROR_NOT_FOUND)
goto bailout;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]