From: Carlos Garcia Campos Date: Sun, 17 Jun 2007 16:26:47 +0000 (+0000) Subject: Clear gtk print job when job has finished. Fixes bug #447612. X-Git-Tag: EVINCE_0_9_1~4 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=3768e2dd98d04cf0d216094c473e605faf39809d;p=evince.git Clear gtk print job when job has finished. Fixes bug #447612. 2007-06-17 Carlos Garcia Campos * shell/ev-window.c: (ev_window_clear_print_job): Clear gtk print job when job has finished. Fixes bug #447612. svn path=/trunk/; revision=2508 --- diff --git a/ChangeLog b/ChangeLog index cf696752..2288074a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-17 Carlos Garcia Campos + + * shell/ev-window.c: (ev_window_clear_print_job): + + Clear gtk print job when job has finished. Fixes bug #447612. + 2007-06-17 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_send), diff --git a/shell/ev-window.c b/shell/ev-window.c index 95f5777d..eafdb292 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2172,6 +2172,11 @@ ev_window_clear_print_job (EvWindow *window) g_object_unref (window->priv->print_job); window->priv->print_job = NULL; } + + if (window->priv->gtk_print_job) { + g_object_unref (window->priv->gtk_print_job); + window->priv->gtk_print_job = NULL; + } } static void