mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:23:47 +01:00
Pass parent window to gtk_print_operation_run (fixes #726)
This commit is contained in:
parent
4c976e9455
commit
68222109f5
@ -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 New Issue
Block a user