mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Make new strings reuse old ones.
2008-02-25 Alexander Larsson <alexl@redhat.com> * glocalfile.c: Make new strings reuse old ones. svn path=/trunk/; revision=6581
This commit is contained in:
		
				
					committed by
					
						
						Alexander Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							96b70c129a
						
					
				
				
					commit
					493cbfa607
				
			@@ -1,3 +1,8 @@
 | 
			
		||||
2008-02-25  Alexander Larsson  <alexl@redhat.com>
 | 
			
		||||
 | 
			
		||||
        * glocalfile.c:
 | 
			
		||||
	Make new strings reuse old ones.
 | 
			
		||||
	
 | 
			
		||||
2008-02-25  Alexander Larsson  <alexl@redhat.com>
 | 
			
		||||
 | 
			
		||||
        * glocalfile.c:
 | 
			
		||||
 
 | 
			
		||||
@@ -1853,14 +1853,14 @@ g_local_file_trash (GFile         *file,
 | 
			
		||||
      g_set_error (error, G_IO_ERROR,
 | 
			
		||||
		   G_IO_ERROR_CANCELLED,
 | 
			
		||||
		   _("Unable to trash file: %s"),
 | 
			
		||||
		   _("cancelled"));
 | 
			
		||||
		   _("Operation was cancelled"));
 | 
			
		||||
      success = FALSE;
 | 
			
		||||
    }
 | 
			
		||||
  else if (!success)
 | 
			
		||||
    g_set_error (error, G_IO_ERROR,
 | 
			
		||||
		 G_IO_ERROR_FAILED,
 | 
			
		||||
		 _("Unable to trash file: %s"),
 | 
			
		||||
		 _("failed"));
 | 
			
		||||
		 _("internal error"));
 | 
			
		||||
 | 
			
		||||
  g_free (wfilename);
 | 
			
		||||
  return success;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user