GdkContentProvider* gdk_content_provider_new_for_bytes ( const char* mime_type, GBytes* bytes )
Create a content provider that provides the given
bytes as data for
The mime type.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
GByteswith the data for
The data is owned by the caller of the function.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|