Fix keep-aspect-ratio deprecation

Sat, 21 Sep 2024 16:22:31 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Sat, 21 Sep 2024 16:22:31 -0500
changeset 42960
f80f044d734c
parent 42959
f1b48841d33e
child 42961
9b94dce254d8

Fix keep-aspect-ratio deprecation

We require a new enough GTK to use the new property.

Testing Done:
Compiled, ran, and didn't see the warning any more.

Reviewed at https://reviews.imfreedom.org/r/3515/

pidgin/resources/avatar.ui file | annotate | diff | comparison | revisions
--- a/pidgin/resources/avatar.ui	Fri Sep 20 20:27:48 2024 -0500
+++ b/pidgin/resources/avatar.ui	Sat Sep 21 16:22:31 2024 -0500
@@ -27,7 +27,7 @@
       <object class="GtkPicture" id="icon">
         <property name="height-request">64</property>
         <property name="width-request">64</property>
-        <property name="keep-aspect-ratio">1</property>
+        <property name="content-fit">contain</property>
       </object>
     </child>
     <child>

mercurial