image_page: Use AdwSpinner

Depends on
https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/1201/

AdwSpinner automatically handles pausing the animation
when unmapped.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/420>
This commit is contained in:
Christopher Davis 2024-07-06 13:52:59 -04:00 • committed by Sophie Herold
parent 4a1a4d270c
commit cd68778890
2 changed files with 2 additions and 12 deletions

View file

@ -47,13 +47,7 @@
<property name="hexpand">true</property>
<property name="vexpand">true</property>
<child>
<object class="GtkSpinner" id="spinner">
<property name="height-request">24</property>
<property name="width-request">24</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="spinning">True</property>
</object>
<object class="AdwSpinner" id="spinner"/>
</child>
</object>
</child>