From 5e1c0583650a45ce07b1efb73502cdaef62030ec Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Wed, 7 Apr 2021 04:26:04 +0200 Subject: print: Fix wrong pointer to main_window --- badwolf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badwolf.c b/badwolf.c index 1476868..eeaedb2 100644 --- a/badwolf.c +++ b/badwolf.c @@ -555,7 +555,7 @@ printCb_clicked(GtkButton *print, gpointer user_data) WebKitPrintOperation *print_operation = webkit_print_operation_new(browser->webView); - webkit_print_operation_run_dialog(print_operation, GTK_WINDOW(browser->window)); + webkit_print_operation_run_dialog(print_operation, GTK_WINDOW(browser->window->main_window)); } static gboolean -- cgit v1.3.1-23-gd82d