[gnome-control-center] user-accounts: Fix namespace of CcUserPanel



commit ae90438bc8dbe7c1ec5904338897d4dbe5fcca2e
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Nov 6 16:00:36 2018 +1300

    user-accounts: Fix namespace of CcUserPanel
    
    It wasn't correctly moved from the UM namespace when renamed in ec529e8.
    This hasn't caused a problem, it's just a little confusing.

 panels/user-accounts/cc-user-panel.c | 6 +++---
 panels/user-accounts/cc-user-panel.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
index e574ea6d1..50442cbff 100644
--- a/panels/user-accounts/cc-user-panel.c
+++ b/panels/user-accounts/cc-user-panel.c
@@ -575,7 +575,7 @@ delete_enterprise_user_response (GtkWidget          *dialog,
                                  gint                response_id,
                                  gpointer            user_data)
 {
-        CcUserPanel *self = UM_USER_PANEL (user_data);
+        CcUserPanel *self = CC_USER_PANEL (user_data);
         AsyncDeleteData *data;
         ActUser *user;
 
@@ -1335,7 +1335,7 @@ settings_or_null (const gchar *schema)
 static void
 cc_user_panel_constructed (GObject *object)
 {
-        CcUserPanel *self = UM_USER_PANEL (object);
+        CcUserPanel *self = CC_USER_PANEL (object);
         CcShell *shell;
 
         G_OBJECT_CLASS (cc_user_panel_parent_class)->constructed (object);
@@ -1381,7 +1381,7 @@ cc_user_panel_init (CcUserPanel *self)
 static void
 cc_user_panel_dispose (GObject *object)
 {
-        CcUserPanel *self = UM_USER_PANEL (object);
+        CcUserPanel *self = CC_USER_PANEL (object);
 
         g_cancellable_cancel (self->cancellable);
         g_clear_object (&self->cancellable);
diff --git a/panels/user-accounts/cc-user-panel.h b/panels/user-accounts/cc-user-panel.h
index 0cb8178c9..6f0aa5af5 100644
--- a/panels/user-accounts/cc-user-panel.h
+++ b/panels/user-accounts/cc-user-panel.h
@@ -24,6 +24,6 @@
 
 G_BEGIN_DECLS
 
-G_DECLARE_FINAL_TYPE (CcUserPanel, cc_user_panel, UM, USER_PANEL, CcPanel)
+G_DECLARE_FINAL_TYPE (CcUserPanel, cc_user_panel, CC, USER_PANEL, CcPanel)
 
 G_END_DECLS


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