]> git.alsa-project.org Git - alsa-gobject.git/commit
timer: query: use GFileError to report error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2020 08:28:09 +0000 (17:28 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2020 08:28:09 +0000 (17:28 +0900)
commit47ae95f8dd3132175febe31d114aa664612a1aad
treef0bbd9d88fdf2640eac670132958225555d28f54
parentff45c5687dae7bcf85e54985064774ca70645c5f
timer: query: use GFileError to report error

In design of ALSA timer, timer character device is not corresponding to
each substance of timer device. It's a kind of interface to query and
operate. Applications adds user instance and operates it to use its
services. Nevertheless, the interface has some functionality without
adding the user instances.

For the functionality, this library has global functions. The functions
are not relevant to the user instance, therefore it's not reasonable to
use error domain specific to the user instance.

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

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