]> git.alsa-project.org Git - alsa-gobject.git/commit
timer: check whether method argument for GError is available
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)
commita7e4011310e4035e69e4554f06101999a2ff8fc5
treeb2180cebbfd277e9c0070d7104f11e91090b889a
parente8f3579364853387408eb0bc93819240d409184d
timer: check whether method argument for GError is available

In Rules for use of GError, the check of arguments for GError may be
preferable to avoid to unexpected function call.

This commit adds the check.

Reference: https://developer.gnome.org/glib/stable/glib-Error-Reporting.html
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/timer/instance-params.c
src/timer/query.c
src/timer/user-instance.c