[GTK] Minibrowser: Add printing support
authortpopela@redhat.com <tpopela@redhat.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2017 12:07:38 +0000 (12:07 +0000)
committertpopela@redhat.com <tpopela@redhat.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2017 12:07:38 +0000 (12:07 +0000)
commita02477678a7269663b200492bad81b6fcf820f12
tree90281722b014098d79f1dc170ca9da291312b72f
parentaed41ff50b499a7856e9bfbc7b5cc6a8613f61a3
[GTK] Minibrowser: Add printing support
https://bugs.webkit.org/show_bug.cgi?id=165298

Open a print dialog when the Ctrl + P shortcut is pressed. If there is
an error during the print, it's printed on the console.

Reviewed by Michael Catanzaro.

* MiniBrowser/gtk/BrowserWindow.c:
(webKitPrintOperationFailedCallback):
(printPage):
(browser_window_init):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/MiniBrowser/gtk/BrowserWindow.c