The documentation for webkit_print_operation_get_page_setup() says: "Return the current page setup of print_operation . It returns NULL until either webkit_print_operation_set_print_settings() or webkit_print_operation_run_dialog() have been called." That should refer to webkit_print_operation_set_page_setup(), not webkit_print_operation_set_print_settings(). Reported at https://lists.webkit.org/pipermail/webkit-gtk/2014-November/002148.html
Created attachment 241855 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 241855 [details] Patch Clearing flags on attachment: 241855 Committed r176316: <http://trac.webkit.org/changeset/176316>
All reviewed patches have been landed. Closing bug.