summaryrefslogtreecommitdiff
path: root/panels/user-accounts/cc-user-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'panels/user-accounts/cc-user-panel.c')
-rw-r--r--panels/user-accounts/cc-user-panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
index ab933e47f..f71e83b1a 100644
--- a/panels/user-accounts/cc-user-panel.c
+++ b/panels/user-accounts/cc-user-panel.c
@@ -354,6 +354,7 @@ static void
add_user (CcUserPanel *self)
{
CcAddUserDialog *dialog;
+ g_autoptr(GdkPixbuf) pixbuf = NULL;
GtkWindow *toplevel;
ActUser *user;
@@ -364,6 +365,7 @@ add_user (CcUserPanel *self)
gtk_dialog_run (GTK_DIALOG (dialog));
user = cc_add_user_dialog_get_user (dialog);
+ generate_user_avatar (user);
if (user != NULL)
reload_users (self, user);