[gnome-color-manager] trivial: Ensure we can exit the GCM main loop if we abort the print-page
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: Ensure we can exit the GCM main loop if we abort the print-page
- Date: Tue, 23 Feb 2010 19:26:00 +0000 (UTC)
commit 705d14cfc54b3315c50a74f1a9078f11bace8bd9
Author: Richard Hughes <richard hughsie com>
Date: Tue Feb 23 19:25:01 2010 +0000
trivial: Ensure we can exit the GCM main loop if we abort the print-page
src/gcm-print.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-print.c b/src/gcm-print.c
index 4829efe..47b5c6c 100644
--- a/src/gcm-print.c
+++ b/src/gcm-print.c
@@ -195,9 +195,9 @@ gcm_print_status_changed_cb (GtkPrintOperation *operation, GcmPrintTask *task)
egg_debug ("printing finished");
g_idle_add ((GSourceFunc) gcm_print_loop_quit_idle_cb, task);
} else if (status == GTK_PRINT_STATUS_FINISHED_ABORTED) {
- egg_warning ("printing aborted");
task->aborted = TRUE;
- g_main_loop_quit (task->loop);
+ egg_debug ("printing aborted");
+ g_idle_add ((GSourceFunc) gcm_print_loop_quit_idle_cb, task);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]