[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-devel-list
Subject:    Re: gnome-print to stdout
From:       Miguel de Icaza <miguel () gnu ! org>
Date:       2000-01-24 16:42:54
Message-ID: 200001241642.KAA14638 () erandi ! helixcode ! com
[Download RAW message or body]


> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic