[gnome-contacts] Print a warning if we fail to load an avatar
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Print a warning if we fail to load an avatar
- Date: Mon, 29 Aug 2011 10:11:29 +0000 (UTC)
commit e109a5403ccdad67759ae48893863a6b361bedde
Author: Alexander Larsson <alexl redhat com>
Date: Mon Aug 29 12:05:24 2011 +0200
Print a warning if we fail to load an avatar
src/contacts-contact.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index 50cd043..ea6279b 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -767,6 +767,7 @@ public class Contacts.Contact : GLib.Object {
var stream = file.load (size, null, c);
res = new Gdk.Pixbuf.from_stream_at_scale (stream, size, size, true, c);
} catch (Error e) {
+ warning ("error loading avatar %s\n", e.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]