]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: query: use GFileError to report error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:26:26 +0000 (16:26 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 23:30:49 +0000 (08:30 +0900)
commit2c736242fc9fc1c19fe15645757918fba514c183
tree8f3683c8ab365fa778e05445009db97c955b0ce9
parentc07720ab0db1b368d6ef1a1cba2c0b67dd4d6692
ctl: 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/ctl/query.c