diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-05-03 17:52:41 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-03 17:52:41 +0000 |
commit | 451c6a3707c89a5871af4337bab8bd517e305ce0 (patch) | |
tree | 15e42aec54c25ecbff0abbb8c86c2a11e6c4c01f | |
parent | d428b288cab93d3691bacd96bd2bf2f7f48f397e (diff) | |
download | gdk-pixbuf-451c6a3707c89a5871af4337bab8bd517e305ce0.tar.gz |
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)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | gtk/gtkprintunixdialog.c | 2 |
3 files changed, 8 insertions, 0 deletions
@@ -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) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 4d7952a00..83b3802ca 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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) diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index b390035fd..9ac102f99 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -1920,6 +1920,8 @@ draw_page_cb (GtkWidget *widget, } } + cairo_destroy (cr); + return TRUE; } |