[gnome-initial-setup] account: Password hint can't be NULL



commit 01a42e4b66c9677f48d5fce038b38be02c653bf6
Author: Colin Walters <walters verbum org>
Date:   Tue Apr 30 09:14:05 2013 -0400

    account: Password hint can't be NULL
    
    Otherwise we get a critical becuase accountsservice's API has it as a
    variant of type (ss).  Tested in gnome-ostree.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699307

 .../pages/account/gis-account-page.c               |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page.c 
b/gnome-initial-setup/pages/account/gis-account-page.c
index 0e5fecd..05c8a36 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.c
+++ b/gnome-initial-setup/pages/account/gis-account-page.c
@@ -515,7 +515,7 @@ local_create_user (GisAccountPage *page)
   if (strlen (password) == 0)
     act_user_set_account_type (priv->act_user, ACT_USER_PASSWORD_MODE_NONE);
   else
-    act_user_set_password (priv->act_user, password, NULL);
+    act_user_set_password (priv->act_user, password, "");
 
   gis_driver_set_user_permissions (GIS_PAGE (page)->driver,
                                    priv->act_user,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]