gdk_pixbuf_loader_get_pixbuf returns different results if gdk_pixbuf_loader_set_size has been called
Submitted by Andrey Tsyvarev
Link to original bug (#583547)
Description
Values, returned by gdk_pixbuf_loader_get_pixbuf before and after call of gdk_pixbuf_loader_close, may differ. This difference contradict to the description of gdk_pixbuf_loader_get_pixbuf:
The returned pixbuf will be the same in all future calls to the loader, so simply calling g_object_ref() should be sufficient to continue using it.
This occures when gdk_pixbuf_loader_set_size has been called with sizes which different from sizes of image loaded.
Version: git master