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
This commit is contained in:
Ondrej Holy 2013-03-14 17:19:40 +01:00 committed by Ray Strode
parent b405db0068
commit 254116f0c5
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 9d825b60070ce78a1d892b0888754be72b72033c
Subproject commit b32d1270655f7c6c83550ae1adc0934105c0cc00

@ -1 +1 @@
Subproject commit 74c08620b45a806df7531a434449f612c87c5ea4
Subproject commit f3df56c399279f52b141b4a2fa3df0b08bdcec55

View file

@ -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);