[nautilus/wip/antoniof/switch-to-gtk4: 22/33] general: GtkSpinner:active -> GtkSpinner:spinning
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/switch-to-gtk4: 22/33] general: GtkSpinner:active -> GtkSpinner:spinning
- Date: Sun, 9 Jan 2022 00:09:35 +0000 (UTC)
commit da24bc7a7bb3432073bf8d9ef7982aecab817e81
Author: António Fernandes <antoniof gnome org>
Date: Thu Dec 23 16:00:27 2021 +0000
general: GtkSpinner:active -> GtkSpinner:spinning
src/nautilus-floating-bar.c | 2 +-
src/nautilus-notebook.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index 3caa37fc8..295ef7ad2 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -358,7 +358,7 @@ nautilus_floating_bar_constructed (GObject *obj)
* ensure the spinner animates if and only if it's visible, to reduce CPU
* usage. */
g_object_bind_property (obj, "show-spinner",
- w, "active",
+ w, "spinning",
G_BINDING_SYNC_CREATE);
self->spinner = w;
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c
index 494ef8ed1..9579f5f98 100644
--- a/src/nautilus-notebook.c
+++ b/src/nautilus-notebook.c
@@ -168,7 +168,7 @@ nautilus_notebook_sync_loading (GtkNotebook *notebook,
g_return_if_fail (spinner != NULL && icon != NULL);
active = FALSE;
- g_object_get (spinner, "active", &active, NULL);
+ g_object_get (spinner, "spinning", &active, NULL);
allow_stop = nautilus_window_slot_get_allow_stop (slot);
if (active == allow_stop)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]