gnucash patch

Bill Nottingham notting at redhat.com
Wed Feb 21 16:37:05 EST 2007


Yoshihiro Ota (ota at j.email.ne.jp) said: 
> +--- src/gnome-utils/gnc-html.c.orig	Tue Feb 20 23:18:48 2007
> ++++ src/gnome-utils/gnc-html.c	Tue Feb 20 23:18:38 2007
> +@@ -1325,7 +1325,7 @@
> +     return;
> +   }
> + 
> +-  gtk_html_print(GTK_HTML(html->html), ps->context);
> ++  gtk_html_print_page(GTK_HTML(html->html), ps->context);
> +   gnc_print_session_done(ps);
> + }
> + 

It's nowhere near that simple. ps->context in gtk_html_print_page (for
new gtkhtml3) is a GtkPrintContext, not a GnomePrintContext. I strongly
supsect that making this change may make it build/link, but then all the
print-session.c gnome_print_* calls will blow up spectacularly.

Bill


More information about the gnucash-devel mailing list