diff options
author | Frédéric Péters <fpeters@0d.be> | 2010-05-02 23:54:11 +0800 |
---|---|---|
committer | Frédéric Péters <fpeters@0d.be> | 2010-05-03 16:20:10 +0800 |
commit | 875d4b68230acf60788d7cc40342dbb931c718e4 (patch) | |
tree | 84732738205277dfd681d6611c993c7b0f2cbc70 /libempathy-gtk/empathy-avatar-image.c | |
parent | 4716b7036a43d51b3e834c5d5a75c68e4fdb7a0a (diff) | |
download | gsoc2013-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)
Diffstat (limited to 'libempathy-gtk/empathy-avatar-image.c')
-rw-r--r-- | libempathy-gtk/empathy-avatar-image.c | 4 |
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; } |