aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-avatar-chooser.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-20 23:10:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-20 23:10:20 +0800
commitda99affb434f4bd1b61287ad812c3a5cfb297772 (patch)
tree14b3e17923ea5c6a972a7e905ec365c13b65e17b /libempathy-gtk/empathy-avatar-chooser.c
parentbb43456be55d117ea23c65f3488c49a128dbcb62 (diff)
downloadgsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.gz
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.bz2
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.lz
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.xz
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.zst
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.zip
use avatar-default instead of the deprecated stock_person icon
Diffstat (limited to 'libempathy-gtk/empathy-avatar-chooser.c')
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index bd878608e..a7e8683e8 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -34,6 +34,7 @@
#include "empathy-avatar-chooser.h"
#include "empathy-conf.h"
+#include "empathy-images.h"
#include "empathy-ui-utils.h"
#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
@@ -571,7 +572,8 @@ avatar_chooser_clear_image (EmpathyAvatarChooser *chooser)
priv->avatar = NULL;
}
- image = gtk_image_new_from_icon_name ("stock_person", GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name (EMPATHY_IMAGE_AVATAR_DEFAULT,
+ GTK_ICON_SIZE_DIALOG);
gtk_button_set_image (GTK_BUTTON (chooser), image);
g_signal_emit (chooser, signals[CHANGED], 0);
}