aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2010-05-02 23:54:11 +0800
committerFrédéric Péters <fpeters@0d.be>2010-05-03 16:20:10 +0800
commit875d4b68230acf60788d7cc40342dbb931c718e4 (patch)
tree84732738205277dfd681d6611c993c7b0f2cbc70
parent4716b7036a43d51b3e834c5d5a75c68e4fdb7a0a (diff)
downloadgsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.tar
gsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.tar.gz
gsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.tar.bz2
gsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.tar.lz
gsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.tar.xz
gsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.tar.zst
gsoc2013-empathy-875d4b68230acf60788d7cc40342dbb931c718e4.zip
Do not display "missing image" for contacts without avatar (#608103)
-rw-r--r--libempathy-gtk/empathy-avatar-image.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c
index ef4185ae9..97818554f 100644
--- a/libempathy-gtk/empathy-avatar-image.c
+++ b/libempathy-gtk/empathy-avatar-image.c
@@ -313,9 +313,7 @@ empathy_avatar_image_set (EmpathyAvatarImage *avatar_image,
}
if (!priv->pixbuf) {
- gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
- "stock_person",
- GTK_ICON_SIZE_DIALOG);
+ gtk_image_clear (GTK_IMAGE (priv->image));
return;
}