Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.c
diff options
context:
space:
mode:
Commit5e1c0583650a45ce07b1efb73502cdaef62030ec (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-04-07 04:26:04 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-04-07 04:26:23 +0200
Filesaf3dc2f86b4839079dbccf2d2a9464a49ed9a0a0 /badwolf.c
goodwolf-5e1c0583650a45ce07b1efb73502cdaef62030ec.tar
goodwolf-5e1c0583650a45ce07b1efb73502cdaef62030ec.tar.gz
goodwolf-5e1c0583650a45ce07b1efb73502cdaef62030ec.zip
Parent51119dfa4421858111ff85292c29f994b803bc9e (diff)
print: Fix wrong pointer to main_window
1 files changed, 1 insertions, 1 deletions
-rw-r--r--badwolf.c2
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