On Wed, 2014-11-19 at 10:35 +0100, Jérémy Lal wrote:
> maybe a bug in webkitgtk:
> 
> ```
> webkit_print_operation_set_print_settings(op, settings);
> GtkPageSetup* setup = webkit_print_operation_get_page_setup(op);
> // setup is NULL here
> ```
> 
> but the doc says
> 
> `It returns NULL until either
> webkit_print_operation_set_print_settings() or
> webkit_print_operation_run_dialog() have been called.`
> 
> The first time i tried that it worked. Maybe a regression of another
> gtk
> component ?

Or even simpler: it's just a documentation bug; surely you need to call
webkit_print_operation_set_page_setup(), not
webkit_print_operation_set_print_settings(). Thanks for reporting!

https://bugs.webkit.org/show_bug.cgi?id=138868

_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to