user-accounts: prevent the only admin from being deleted or disabled
https://bugzilla.gnome.org/show_bug.cgi?id=690246
This commit is contained in:
parent
0adf7c2073
commit
3af1b72691
4 changed files with 46 additions and 40 deletions
|
@ -81,6 +81,8 @@ GdkPixbuf * render_user_icon (ActUser *user,
|
|||
void set_user_icon_data (ActUser *user,
|
||||
GdkPixbuf *pixbuf);
|
||||
|
||||
gboolean would_demote_only_admin (ActUser *user);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue