[gnome-contacts] contact-list: Fix async call to Avatar.reload()



commit 32a78e2ed102f54ea50851c5754d6b6947e628f9
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Thu Jan 13 13:22:59 2022 +0100

    contact-list: Fix async call to Avatar.reload()
    
    We were accidentally not using the `.begin()` call syntax of the
    asynchronous method, so fix that.

 src/contacts-contact-list.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/contacts-contact-list.vala b/src/contacts-contact-list.vala
index edce740d..0a97641c 100644
--- a/src/contacts-contact-list.vala
+++ b/src/contacts-contact-list.vala
@@ -381,7 +381,7 @@ public class Contacts.ContactList : Adw.Bin {
 
     private void on_contact_changed (Object obj, ParamSpec pspec) {
       if (pspec.get_name () == "avatar") {
-        this.avatar.reload ();
+        this.avatar.reload.begin ();
       }
       // Always update the label, since it can depend on a lot of properties
       this.label.set_text (this.individual.display_name);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]