author | Max Kellermann <max@duempel.org> | |
Fri, 16 Oct 2009 13:08:51 +0000 (15:08 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 16 Oct 2009 13:08:51 +0000 (15:08 +0200) | ||
commit | ea237ee661ffcd1c16a7bb72364e83c7642f2427 | |
tree | 3c1b0212531e027aaf41ceb8767fb53baa5a135d | tree | snapshot |
parent | 2158ae519ddd706a93187686324cf05cbdca4bd2 | commit | diff |
gidle: mpd_glib_enter() returns success
mpd_glib_enter() is unreliable, because it does nothing when called
during the callback, which in turn was invoked by mpd_glib_leave().
Sometimes, mpdclient.idle is wrong because of that. This patch sets
mpdclient.idle to the return value of mpd_glib_enter().
mpd_glib_enter() is unreliable, because it does nothing when called
during the callback, which in turn was invoked by mpd_glib_leave().
Sometimes, mpdclient.idle is wrong because of that. This patch sets
mpdclient.idle to the return value of mpd_glib_enter().
src/gidle.c | diff | blob | history | |
src/gidle.h | diff | blob | history | |
src/mpdclient.c | diff | blob | history |