[gnome-software: 78/110] gs-common: Use GtkSpinner:spinning property
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 78/110] gs-common: Use GtkSpinner:spinning property
- Date: Tue, 5 Oct 2021 20:32:41 +0000 (UTC)
commit 12ee32eead5dced778d2f0e74455bb0a637d4145
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Aug 25 23:52:02 2021 -0300
gs-common: Use GtkSpinner:spinning property
The 'active' property was renamed to 'spinning'.
src/gs-common.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-common.c b/src/gs-common.c
index a0244b3ae..f99c3a5e7 100644
--- a/src/gs-common.c
+++ b/src/gs-common.c
@@ -72,12 +72,12 @@ gs_stop_spinner (GtkSpinner *spinner)
void
gs_start_spinner (GtkSpinner *spinner)
{
- gboolean active;
+ gboolean spinning;
guint id;
/* Don't do anything if it's already spinning */
- g_object_get (spinner, "active", &active, NULL);
- if (active || g_object_get_data (G_OBJECT (spinner), "start-timeout") != NULL)
+ g_object_get (spinner, "spinning", &spinning, NULL);
+ if (spinning || g_object_get_data (G_OBJECT (spinner), "start-timeout") != NULL)
return;
gtk_widget_set_opacity (GTK_WIDGET (spinner), 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]