gnome-commander r1589 - branches/gcmd-1-3/src



Author: epiotr
Date: Mon Feb 25 16:45:17 2008
New Revision: 1589
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1589&view=rev

Log:
Code cleanup

Modified:
   branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.cc

Modified: branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-prepare-xfer-dialog.cc	Mon Feb 25 16:45:17 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]