From 61e87254ad01b6f4744e6cc79613a133079eb706 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 11 Nov 2008 15:26:28 +0000 Subject: Don't clear user's avatar if a file can't be read. svn path=/trunk/; revision=1683 --- libempathy-gtk/empathy-avatar-chooser.c | 2 -- 1 file changed, 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; } -- cgit v1.2.3