mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 07:26:01 +01:00
Pass parent window to gtk_print_operation_run (fixes #726)
This commit is contained in:
parent
4c976e9455
commit
68222109f5
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ print(zathura_t* zathura)
|
|||
GError* error = NULL;
|
||||
GtkPrintOperationResult result = gtk_print_operation_run(print_operation,
|
||||
GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,
|
||||
NULL, &error);
|
||||
GTK_WINDOW(zathura->ui.session->gtk.window), &error);
|
||||
|
||||
if (result == GTK_PRINT_OPERATION_RESULT_ERROR) {
|
||||
girara_notify(zathura->ui.session, GIRARA_ERROR, _("Printing failed: %s"),
|
||||
|
|
Loading…
Reference in a new issue