Free the custom paper list. (#403267, Felix Riemann)

2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
        Free the custom paper list.  (#403267, Felix Riemann)



svn path=/trunk/; revision=17695
This commit is contained in:
Matthias Clasen 2007-04-29 05:06:06 +00:00 committed by Matthias Clasen
parent 6f8d92f369
commit ea3667c49c
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
Free the custom paper list. (#403267, Felix Riemann)
2007-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a

View File

@ -386,6 +386,12 @@ gtk_page_setup_unix_dialog_finalize (GObject *object)
priv->page_setup_list = NULL;
}
if (priv->custom_paper_list)
{
g_object_unref (priv->custom_paper_list);
priv->custom_paper_list = NULL;
}
if (priv->print_settings)
{
g_object_unref (priv->print_settings);