[gnome-control-center] user-accounts: Use GTK+ lock button



commit 8c6221a567c11ecd8e7ce17c86246f7bc59cd522
Author: Bastien Nocera <hadess hadess net>
Date:   Sat May 7 17:47:13 2011 +0100

    user-accounts: Use GTK+ lock button

 panels/user-accounts/um-user-panel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index 819fb21..f3d18d1 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -47,7 +47,6 @@
 #include "um-editable-button.h"
 #include "um-editable-entry.h"
 #include "um-editable-combo.h"
-#include "libgnome-control-center/cc-lockbutton.h"
 
 #include "um-account-dialog.h"
 #include "um-language-dialog.h"
@@ -1194,7 +1193,7 @@ setup_main_window (UmUserPanelPrivate *d)
         d->permission = (GPermission *)polkit_permission_new_sync ("org.freedesktop.accounts.user-administration", NULL, NULL, NULL);
         if (d->permission != NULL) {
                 /* accounts service not available? */
-                button = cc_lock_button_new (d->permission);
+                button = gtk_lock_button_new (d->permission);
                 gtk_widget_set_margin_top (button, 12);
                 gtk_widget_show (button);
                 box = get_widget (d, "accounts-vbox");



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