Declaration [src]

gtk_selection_data_get_pixbuf (
  const GtkSelectionData* selection_data

Description [src]

Gets the contents of the selection data as a GdkPixbuf.

Available since:2.6

Return value

Returns: GdkPixbuf

If the selection data contained a recognized image type and it could be converted to a GdkPixbuf, a newly allocated pixbuf is returned, otherwise NULL. If the result is non-NULL it must be freed with g_object_unref().

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.