]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: query: use GFileError to report error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 02:45:41 +0000 (11:45 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 12:04:53 +0000 (21:04 +0900)
commitc999211a1d8748b13cfaa8fd135b1be4e4be108b
treec1857051d0ce6f8d72f4a0e80df3806bc12feb4f
parent9dc1e2f9b675fd5c49bffda4cb658fb3ed554668
rawmidi: query: use GFileError to report error

This commit uses GFileError to report errors in library global functions.

It's better to add new GLib enumerations and GQuark for the reporting,
however it's cumbersome to add them just for the global functions.
Thus this commit just uses the existent error in GLib.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/rawmidi/query.c