]> git.alsa-project.org Git - alsa-gobject.git/commit
hwdep: query: rewrite public API to return gboolean according to GNOME convention
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 31 May 2022 01:41:31 +0000 (10:41 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Tue, 31 May 2022 02:31:59 +0000 (11:31 +0900)
commit2d8197ec3ee7d9a11b4189db0e2d9cf2250cfb5e
tree77d908573ebdee23fcc2acd2e252a2673fdea4f7
parentbfd1f03991e42c4ddc0e26ea092c93cc43ae253c
hwdep: query: rewrite public API to return gboolean according to GNOME convention

In GNOME convention, the throw function to report error at GError argument
should return gboolean value to report the overall operation finishes
successfully or not.

This commit rewrite such public APIs with loss of backward compatibility.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
samples/hwdep
src/hwdep/alsahwdep.map
src/hwdep/query.c
src/hwdep/query.h