replacement for gnome-print-pixbuf?

In gnome 1.4 I did this sort of thing:

GdkPixbuf *pbuf;
pbuf = gdk_pixbuf_new_from_file("foo.png", NULL);

<stuff -- set up gnome-print>

gnome_print_pixbuf(pc, pbuf);

But gnome_print_pixbuf() is gone in libgnomeprint-2.0.  I guess I have
to use gnome_print_*image() instead.  Any pointers on how to convert?

Allin Cottrell
Department of Economics
Wake Forest University, NC

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