On Tue, Aug 21, 2012 at 11:42:53PM +0100, Rudra Banerjee wrote:
> Is it possible to write to a file using g_print? 

g_print() is not an interface to print things to *a specific
destination*.  Quite the opposite.

It sends messages to the print handler.  Depending on the print handler
stup, it do anything with them (print to stdout, save to some file,
display somewhere, discard, ...).

> Any solution?

Don't do that then.  Use g_fprintf().  Or, in most cases, just
fprintf().

Yeti

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to