[gnome-software] utils: Make sure spinner stopping works during the fade-in delay
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] utils: Make sure spinner stopping works during the fade-in delay
- Date: Sun, 24 May 2015 14:18:07 +0000 (UTC)
commit 224a80e25c0bb54835fd394a649e48d1aeab715e
Author: Kalev Lember <kalevlember gmail com>
Date: Sun May 24 13:30:59 2015 +0200
utils: Make sure spinner stopping works during the fade-in delay
Make sure that gs_stop_spinner() removes the associated fade-in timeout
source as well.
src/gs-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-utils.c b/src/gs-utils.c
index 799d3ae..2913fff 100644
--- a/src/gs-utils.c
+++ b/src/gs-utils.c
@@ -75,6 +75,7 @@ start_spinning (gpointer data)
void
gs_stop_spinner (GtkSpinner *spinner)
{
+ g_object_set_data (G_OBJECT (spinner), "start-timeout", NULL);
gtk_spinner_stop (spinner);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]