]> git.alsa-project.org Git - alsa-gobject.git/commit
hwdep: query: use GFileError to report error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 14:04:32 +0000 (23:04 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 23:57:30 +0000 (08:57 +0900)
commit67c29c0dd39ed92432e390e28ee878b831a21381
tree0e187aecbf6d8c8fc65cfea654feaff3f6277912
parentf2554d4676ec6d64a108113e04baa2dd313e3a96
hwdep: 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/hwdep/query.c