commit: 5e1c0583650a45ce07b1efb73502cdaef62030ec
parent 51119dfa4421858111ff85292c29f994b803bc9e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 7 Apr 2021 04:26:04 +0200
print: Fix wrong pointer to main_window
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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