diff options
author | waker <wakeroid@gmail.com> | 2011-04-22 21:00:58 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-22 21:00:58 +0200 |
commit | db4e12659a6c15d4812ea36f5a9a871f2208abf6 (patch) | |
tree | ce1070550ea227109d6111578c1bebb17535ab01 /plugins/gtkui | |
parent | c6b4765f8531e2520f2bae3647cdf49002ff3a96 (diff) |
gtkui: stop refresh timer before quitting
Diffstat (limited to 'plugins/gtkui')
-rw-r--r-- | plugins/gtkui/gtkui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index c1a49425..4d682d6e 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -1075,6 +1075,10 @@ gtkui_thread (void *ctx) { gtk_main (); + if (refresh_timeout) { + g_source_remove (refresh_timeout); + refresh_timeout = 0; + } cover_art_free (); eq_window_destroy (); trkproperties_destroy (); |