[gnome-contacts] Clear cached avatar pixbuf if it changes
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Clear cached avatar pixbuf if it changes
- Date: Wed, 18 May 2011 11:40:38 +0000 (UTC)
commit 3801364668afe586ba91ddb7f83ff98985ce2580
Author: Alexander Larsson <alexl redhat com>
Date: Wed May 18 13:39:16 2011 +0200
Clear cached avatar pixbuf if it changes
src/contacts-contact.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index 69480d0..78b3c89 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -189,6 +189,8 @@ public class Contacts.Contact : GLib.Object {
}
private void notify_cb (ParamSpec pspec) {
+ if (pspec.get_name () == "avatar")
+ _avatar = null;
queue_changed ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]