[gnome-control-center/gnome-3-8] user-accounts: Don't unref users
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-8] user-accounts: Don't unref users
- Date: Thu, 14 Mar 2013 22:20:45 +0000 (UTC)
commit 6b5deb3891c1a997afc7c3ee64a6603ecf06702a
Author: Ondrej Holy <oholy redhat com>
Date: Thu Mar 14 17:19:40 2013 +0100
user-accounts: Don't unref users
libaccountsservice doesn't ref them before giving them to us,
so we shouldn't unref them when we're done with them.
https://bugzilla.gnome.org/show_bug.cgi?id=691891
panels/user-accounts/um-user-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index 60abdca..2b10a9a 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -961,7 +961,7 @@ users_loaded (ActUserManager *manager,
g_debug ("adding user %s\n", get_real_or_user_name (user));
user_added (d->um, user, d);
}
- g_slist_free_full (list, g_object_unref);
+ g_slist_free (list);
g_signal_connect (d->um, "user-added", G_CALLBACK (user_added), d);
g_signal_connect (d->um, "user-removed", G_CALLBACK (user_removed), d);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]