Bug 571576 – gdk_pixbuf_save_to_stream() broken
2009-02-12 Cody Russell <bratsche@gnome.org> Bug 571576 – gdk_pixbuf_save_to_stream() broken * gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that it does not always return FALSE (even when it succeeds), and also so that it does not set error to NULL when something goes wrong. svn path=/trunk/; revision=22322
This commit is contained in:
		
				
					committed by
					
						
						Cody Russell
					
				
			
			
				
	
			
			
			
						parent
						
							c60201b772
						
					
				
				
					commit
					98f9ba55e8
				
			@ -1,3 +1,11 @@
 | 
			
		||||
2009-02-12  Cody Russell  <bratsche@gnome.org>
 | 
			
		||||
 | 
			
		||||
	Bug 571576 – gdk_pixbuf_save_to_stream() broken
 | 
			
		||||
 | 
			
		||||
	* gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
 | 
			
		||||
	it does not always return FALSE (even when it succeeds), and also so
 | 
			
		||||
	that it does not set error to NULL when something goes wrong.
 | 
			
		||||
 | 
			
		||||
2009-02-12  Marek Kasik  <mkasik@redhat.com>
 | 
			
		||||
 | 
			
		||||
	Bug 568571 – Asian am/pm format on cups print backend's time parsing
 | 
			
		||||
 | 
			
		||||
@ -2406,13 +2406,10 @@ gdk_pixbuf_save_to_stream (GdkPixbuf      *pixbuf,
 | 
			
		||||
	data.stream = stream;
 | 
			
		||||
	data.cancellable = cancellable;
 | 
			
		||||
 | 
			
		||||
	if (!gdk_pixbuf_save_to_callbackv (pixbuf, save_to_stream, 
 | 
			
		||||
					   &data, type, 
 | 
			
		||||
					   keys, values, 
 | 
			
		||||
					   error)) {
 | 
			
		||||
		error = NULL; /* Ignore further errors */
 | 
			
		||||
		res = FALSE;
 | 
			
		||||
	}
 | 
			
		||||
	res = gdk_pixbuf_save_to_callbackv (pixbuf, save_to_stream, 
 | 
			
		||||
					    &data, type, 
 | 
			
		||||
					    keys, values, 
 | 
			
		||||
					    error);
 | 
			
		||||
 | 
			
		||||
	g_strfreev (keys);
 | 
			
		||||
	g_strfreev (values);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user