Re: [Evolution-hackers] Why is GnomePrintContext still in GtkHtml?



Matthew,

It is an exposed interface, that is lying around after the GtkPrint
migration. It should be removed in the next few updates.

-Srini.
On Mon, 2007-01-22 at 19:41 -0500, Matthew Barnes wrote:
> So I'm a little bit confused about this recent GtkPrint migration.  I'm
> seeing things in the GtkHtml code like this:
> 
>         void  html_engine_print (HTMLEngine         *e,
>                                  GtkPrintContext    *print_context);
>         
>         ...
> 
>         void
>         gtk_html_print (GtkHTML *html,
>                         GnomePrintContext *print_context)
>         {
>                 g_return_if_fail (html != NULL);
>                 g_return_if_fail (GTK_IS_HTML (html));
>         
>                 html_engine_print (html->engine, print_context);
>         }
> 
> How does print_context magically change from a GnomePrintContext to a
> GtkPrintContext?  Is this an oversight or are we doing something dirty?
> 
> Matthew Barnes
> 
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers




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