GNOME Bugzilla – Bug 314086
gtk_clipboard_request_image () only handles png or jpeg
Last modified: 2005-08-24 17:02:09 UTC
When an application publishes an image in any other format that gdkpixbuf understands gtk_clipboard_request_image () just ignores it. This is most notably a problem with images that are published by OpenOffice.org which are in bmp format. There seems to be support for handling image/gif in request_image_received_func () but when such an image is provided it calls gtk_clipboard_request_contents () with request_text_received_func () as callback instead of request_image_received_func () so this always fails.
* gtk/gtkclipboard.c (request_image_received_func): Use the correct callback for image/gif, and also try image/bmp. (#314086, Mark Wielaard)