[gnome-initial-setup/shell/4765: 143/362] account: fix GCC warning



commit 36e2c7e6bdaf482f9855ca8c9fb02ef55343c8c0
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Mon Aug 11 11:16:38 2014 -0700

    account: fix GCC warning
    
    We were passing the wrong structure type.
    
    [endlessm/eos-shell#3020]

 .../pages/account/gis-account-page.c               |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page.c 
b/gnome-initial-setup/pages/account/gis-account-page.c
index 528c5d8..1af0306 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.c
+++ b/gnome-initial-setup/pages/account/gis-account-page.c
@@ -466,11 +466,11 @@ local_create_user (GisAccountPage *page)
 {
   GisAccountPagePrivate *priv = gis_account_page_get_instance_private (page);
   const gchar *username;
-  const gchar *old_username;
   const gchar *password;
   const gchar *old_password;
   const gchar *fullname;
   const gchar *language;
+  ActUser *old_user;
   gboolean autologin_active;
   GSettings *lock_settings;
   GError *error = NULL;
@@ -490,7 +490,7 @@ local_create_user (GisAccountPage *page)
     return;
   }
 
-  gis_driver_get_user_permissions (GIS_PAGE (page)->driver, &old_username, &old_password);
+  gis_driver_get_user_permissions (GIS_PAGE (page)->driver, &old_user, &old_password);
   if (!old_password)
     old_password = "gis";
 


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