aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index a8cf19ca8..7a8068e72 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -586,7 +586,7 @@ avatar_chooser_response_cb (GtkWidget *widget,
}
}
else if (response == GTK_RESPONSE_NO) {
- avatar_chooser_set_image_from_data (chooser, NULL, 0);
+ avatar_chooser_clear_image (chooser);
}
gtk_widget_destroy (widget);