newForFilename

Creates a new media file for the given filename.

This is a utility function that converts the given @filename to a GFile and calls ctor@Gtk.MediaFile.new_for_file.

Return

a new GtkMediaFile playing @filename

Parameters

filename

filename to open