add gdk-pixbuf-loader funtion to read from stream
Submitted by Christian Persch
gdk-pixbuf-loader lacks a function to read from a GInputStream. I need that since I need to create a pixbuf loader for a specific type, while all the public gdk-pixbuf stream-API (gdk_pixbuf_new_from_stream*) create a nonspecific loader internally.
There's an internal function already that takes a GInputStream, reads its data and writes that to a GdkPixbufLoader; attached patch simply splits that out into a public function.
Version: git master