aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:26:28 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-11 23:26:28 +0800
commit61e87254ad01b6f4744e6cc79613a133079eb706 (patch)
treeba611b1ec1b56fe47bfa9c676dd3323490b44071
parentce2278d49d963ee05c59a17c4d52d0098bf2de41 (diff)
downloadgsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.tar
gsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.tar.gz
gsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.tar.bz2
gsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.tar.lz
gsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.tar.xz
gsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.tar.zst
gsoc2013-empathy-61e87254ad01b6f4744e6cc79613a133079eb706.zip
Don't clear user's avatar if a file can't be read.
svn path=/trunk/; revision=1683
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 670cbd7b1..ae7792cb6 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -565,8 +565,6 @@ avatar_chooser_set_image_from_file (EmpathyAvatarChooser *chooser,
DEBUG ("Failed to load image from '%s': %s", filename,
error ? error->message : "No error given");
- avatar_chooser_clear_image (chooser, TRUE);
-
g_clear_error (&error);
return;
}