]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: check whether method argument for GError is available
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 02:45:41 +0000 (11:45 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 02:45:41 +0000 (11:45 +0900)
commit2327885fbfe2aafc8c4994c25f7c1ed13a81581b
tree60e612083c64899ce0a31064e76065564b3eee40
parent8a3441076680e27c0c59ae4a90fd93b5a2952b61
rawmidi: 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/rawmidi/query.c
src/rawmidi/stream-pair.c