Re: gnome-print to stdout




> What about adding few lines to gnome-print.c
> 
> gnome_print_context_open_file:
> 
> if ((filename[0] == '-') && (filename[1] == '\0'))
>   {
>     pc->f = stdout;
>     pc->is_pipe = FALSE;
>   }

This sort of thing usually is done by applications;  I am not sure it
is a good idea to put this on library code.

We need to find a different approach.  Perhaps being able to pass an
initialized FILE * to the code would be a better approach?

Miguel



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