Don't leak the cairo context here. (#340522, Christian Persch)
2006-05-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the cairo context here. (#340522, Christian Persch)
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							d428b288ca
						
					
				
				
					commit
					451c6a3707
				
			@ -1,5 +1,8 @@
 | 
			
		||||
2006-05-03  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
 | 
			
		||||
	cairo context here.  (#340522, Christian Persch)
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
 | 
			
		||||
	use gtk_dialog_run for the error dialog, and improve the
 | 
			
		||||
	dialog in other ways.  (#340510, Christian Persch)
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,8 @@
 | 
			
		||||
2006-05-03  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkprintunixdialog.c (draw_page_cb): Don't leak the
 | 
			
		||||
	cairo context here.  (#340522, Christian Persch)
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
 | 
			
		||||
	use gtk_dialog_run for the error dialog, and improve the
 | 
			
		||||
	dialog in other ways.  (#340510, Christian Persch)
 | 
			
		||||
 | 
			
		||||
@ -1920,6 +1920,8 @@ draw_page_cb (GtkWidget	         *widget,
 | 
			
		||||
	}
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
  cairo_destroy (cr);
 | 
			
		||||
 | 
			
		||||
  return TRUE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user