Ejemplo n.º 1
0
/**
 * rb_source_receive_drag:
 * @source: a #RBSource
 * @data: the selection data
 *
 * This is called when the user drags something to the source.
 * Depending on the drag data type, the data might be a list of
 * #RhythmDBEntry objects, a list of URIs, or a list of album
 * or artist or genre names.
 *
 * Return value: TRUE if the source accepted the drag data
 */
gboolean
rb_source_receive_drag (RBSource *source,
			GtkSelectionData *data)
{
	RBSourceClass *klass = RB_SOURCE_GET_CLASS (source);

	if (klass->impl_receive_drag)
		return klass->impl_receive_drag (source, data);
	else
		return FALSE;
}