]> git.alsa-project.org Git - alsa-gobject.git/commit
timer: add checks for method arguments
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2020 08:28:09 +0000 (17:28 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 00:19:56 +0000 (09:19 +0900)
commitb0000618597dba01b67806a89324b8ad831b58cb
treeb97ccfb9b775b547b83e4cb829eef575d5c7437e
parenta7e4011310e4035e69e4554f06101999a2ff8fc5
timer: add checks for method arguments

In Rules for use of GError, it's just used for recoverable runtime
error, not for programming error. The invalid arguments are a kind of
programming error.

This commit adds the check for method arguments.

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