Commit 68222109 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Pass parent window to gtk_print_operation_run (fixes #726)

parent 4c976e94
......@@ -58,7 +58,7 @@ print(zathura_t* zathura)
GError* error = NULL;
GtkPrintOperationResult result = gtk_print_operation_run(print_operation,
NULL, &error);
GTK_WINDOW(zathura->ui.session->gtk.window), &error);
girara_notify(zathura->ui.session, GIRARA_ERROR, _("Printing failed: %s"),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment