mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Don't spew warnings when destination is not a GLocalFile.
2008-02-05 Alexander Larsson <alexl@redhat.com> * glocalfile.c (g_local_file_move): Don't spew warnings when destination is not a GLocalFile. svn path=/trunk/; revision=6451
This commit is contained in:
		
				
					committed by
					
						
						Alexander Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							a9bee27cda
						
					
				
				
					commit
					c6af0efb11
				
			@@ -1,3 +1,9 @@
 | 
			
		||||
2008-02-05  Alexander Larsson  <alexl@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* glocalfile.c (g_local_file_move):
 | 
			
		||||
	Don't spew warnings when destination is not
 | 
			
		||||
	a GLocalFile.
 | 
			
		||||
 | 
			
		||||
2008-02-03  Hans Breuer  <hans@breuer.org>
 | 
			
		||||
 | 
			
		||||
	* makefile.msc : update
 | 
			
		||||
 
 | 
			
		||||
@@ -1781,8 +1781,7 @@ g_local_file_move (GFile                  *source,
 | 
			
		||||
		   gpointer                progress_callback_data,
 | 
			
		||||
		   GError                **error)
 | 
			
		||||
{
 | 
			
		||||
  GLocalFile *local_source;
 | 
			
		||||
  GLocalFile *local_destination = G_LOCAL_FILE (destination);
 | 
			
		||||
  GLocalFile *local_source, *local_destination;
 | 
			
		||||
  struct stat statbuf;
 | 
			
		||||
  gboolean destination_exist, source_is_dir;
 | 
			
		||||
  char *backup_name;
 | 
			
		||||
@@ -1798,6 +1797,7 @@ g_local_file_move (GFile                  *source,
 | 
			
		||||
    }
 | 
			
		||||
  
 | 
			
		||||
  local_source = G_LOCAL_FILE (source);
 | 
			
		||||
  local_destination = G_LOCAL_FILE (destination);
 | 
			
		||||
  
 | 
			
		||||
  res = g_lstat (local_source->filename, &statbuf);
 | 
			
		||||
  if (res == -1)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user