mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
6f8d92f369
commit
ea3667c49c
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user