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:
Matthias Clasen 2006-05-03 17:52:41 +00:00 committed by Matthias Clasen
parent d428b288ca
commit 451c6a3707
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2006-05-03 Matthias Clasen <mclasen@redhat.com> 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 * gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
use gtk_dialog_run for the error dialog, and improve the use gtk_dialog_run for the error dialog, and improve the
dialog in other ways. (#340510, Christian Persch) dialog in other ways. (#340510, Christian Persch)

View File

@ -1,5 +1,8 @@
2006-05-03 Matthias Clasen <mclasen@redhat.com> 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 * gtk/gtkprintoperation-unix.c (unix_finish_send): Don't
use gtk_dialog_run for the error dialog, and improve the use gtk_dialog_run for the error dialog, and improve the
dialog in other ways. (#340510, Christian Persch) dialog in other ways. (#340510, Christian Persch)

View File

@ -1920,6 +1920,8 @@ draw_page_cb (GtkWidget *widget,
} }
} }
cairo_destroy (cr);
return TRUE; return TRUE;
} }