[gtk+/portal] Add a forgotten return
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/portal] Add a forgotten return
- Date: Thu, 7 Jul 2016 03:30:37 +0000 (UTC)
commit b66594b2ed88eac77361b062f9c0a1c60d252d78
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 6 22:56:17 2016 -0400
Add a forgotten return
gtk/gtkprintoperation-portal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprintoperation-portal.c b/gtk/gtkprintoperation-portal.c
index 6ed37ae..7eb7ffc 100644
--- a/gtk/gtkprintoperation-portal.c
+++ b/gtk/gtkprintoperation-portal.c
@@ -193,6 +193,7 @@ portal_job_complete (GtkPrintJob *job,
{
g_warning ("Print job failed: %s", error->message);
op->priv->error = g_error_copy (error);
+ return;
}
op_portal->file_written = TRUE;
@@ -274,7 +275,6 @@ finish_print (PortalData *portal,
GtkPrintOperationPortal *op_portal;
cairo_t *cr;
-
if (portal->do_print)
{
gtk_print_operation_set_print_settings (op, settings);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]