]> 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)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:30:44 +0000 (16:30 +0900)
commit45a030031706e10e109eb663b9b19ae78b6fd92b
tree8f3683c8ab365fa778e05445009db97c955b0ce9
parentd4f0de49b69a96363a6a2d18e486ee2dd40eba5d
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