[Webkit-unassigned] [Bug 22898] [GTK] Patch to allow batch printing to file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 17 13:08:33 PST 2008


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





------- Comment #2 from zecke at selfish.org  2008-12-17 13:08 PDT -------
(From update of attachment 26088)
> Index: WebKit/gtk/webkit/webkitwebframe.cpp
> ===================================================================
> --- WebKit/gtk/webkit/webkitwebframe.cpp	(revision 39335)
> +++ WebKit/gtk/webkit/webkitwebframe.cpp	(working copy)
> @@ -580,6 +580,45 @@
>      }
>  }
>  
> +
> +void webkit_web_frame_print_to_file(WebKitWebFrame* frame, GtkPrintSettings *settings, GtkPageSetup *setup, const gchar *filename)
> +{

> +    gtk_print_operation_set_export_filename(op, filename);
> +    if (page_setup)
> +        gtk_print_operation_set_default_page_setup(op, page_setup);

this does compile? I was not able to resolve page_setup, maybe the compiler is
more clever than me. We will also need to consider making this official API...


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list