author | Max Kellermann <max@duempel.org> | |
Fri, 16 Oct 2009 13:06:58 +0000 (15:06 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 16 Oct 2009 13:06:58 +0000 (15:06 +0200) | ||
commit | 2158ae519ddd706a93187686324cf05cbdca4bd2 | |
tree | 025a5cc528033a243b1ae06c46ee733bdd775685 | tree | snapshot |
parent | b14c2234a61e38fd55d5dbb685f49323a5f02c9f | commit | diff |
gidle: added internal "destroyed" flag
If mpd_glib_leave() invokes the callback, and the callback destroys
the mpd_glib_source object, mpd_glib_leave() is unable to reset the
"leaving" flag. This patch adds the flag "destroyed" which lets
mpd_glib_leave() do the g_free() when it's ready.
If mpd_glib_leave() invokes the callback, and the callback destroys
the mpd_glib_source object, mpd_glib_leave() is unable to reset the
"leaving" flag. This patch adds the flag "destroyed" which lets
mpd_glib_leave() do the g_free() when it's ready.
src/gidle.c | diff | blob | history | |
src/gidle.h | diff | blob | history |