Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-06-17 16:26:47 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-06-17 16:26:47 (GMT)
commit3768e2dd98d04cf0d216094c473e605faf39809d (patch)
tree941706a8b90881322a5c57599b7246bde26f7ff2 /shell
parent390e22d139c26461a478adeb1dfb9cb4634ab4a5 (diff)
Clear gtk print job when job has finished. Fixes bug #447612.
2007-06-17 Carlos Garcia Campos <carlosgc@gnome.org> * 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
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 95f5777..eafdb29 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