[webkit-gtk] webkit_print_operation_get_page_setup returns NULL

Jérémy Lal kapouer at melix.org
Wed Nov 19 01:35:38 PST 2014


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 ?


Jérémy.




More information about the webkit-gtk mailing list