#if GTK3
- this.printpng();
- //print("PNG not supported in webkit2\n");
- return;
+ GLib.Timeout.add_seconds(webkitpdf.opt_delay, () => {
+ print("delay done URL: %s\n", this.el.uri);
+ this.printpng();
+ return false;
+ }, GLib.Priority.DEFAULT);
+ return;
#else
GLib.Timeout.add_seconds(webkitpdf.opt_delay, () => {