gtkhtml r8489 - in trunk: . src



Author: mbarnes
Date: 2007-07-06 14:09:31 +0100 (Fri, 06 Jul 2007)
New Revision: 8489
ViewCVS link: http://svn.gnome.org/viewcvs/gtkhtml?rev=8489&view=rev

Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/src/ChangeLog
   trunk/src/gtkhtml-types.h
   trunk/src/gtkhtml.c
   trunk/src/gtkhtml.h
   trunk/src/htmlengine-print.c
   trunk/src/htmlengine-print.h
   trunk/src/htmlengine.c
   trunk/src/htmlprinter.c
   trunk/src/htmlprinter.h
Log:
2007-07-06  Matthew Barnes  <mbarnes redhat com>

	** Fixes bug #446894

	* configure.in:
	Increment GTKHTML_CURRENT and GTKHTML_AGE for new
	gtk_html_print_operation_run() function.

	* src/gtkhtml.[ch] (gtk_html_print_operation_run):
	New API uses the given GtkPrintOperation to print a document.
	Just calls html_engine_print_operation_run().

	* src/gtkhtml-types.h:
	Define new callback function typedefs for use with
	gtk_html_print_operation_run().

	* src/htmlengine.c (html_engine_realize), (html_engine_unrealize),
	(thaw_idle): Don't assume painter is an HtmlGdkPainter.

	* src/htmlengine-print.[ch]:
	Add html_engine_print_operation_run().
	Merge html_engine_print() and html_engine_print_with_header_footer().
	Other cosmetic cleanups.

	* src/htmlprinter.[ch]:
	Remove the SCALE_PANGO_TO_GNOME_PRINT() macro.
	Remove html_printer_coordinates_to_gnome_print(); use the
	SCALE_ENGINE_TO_GNOME_PRINT() macro instead.
	Remove margin calculation functions; the margins have already been
	accounted for in the Cairo context returned by GtkPrintContext.
	Call pango_units_to_double() instead of using the
	SCALE_PANGO_TO_GNOME_PRINT() macro.
	Other cosmetic cleanups.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]