diff options
author | Ray Strode <rstrode@redhat.com> | 2018-05-15 17:02:36 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2018-05-16 10:01:15 -0400 |
commit | 85232f330401e574a74c62ab829b740ead59885d (patch) | |
tree | 31fb4ef1ebd08f232d9b0bfcc9ab5b47c95a6ed6 /libgdm/gdm-user-switching.h | |
parent | 431739427e9dbdafc0ed011760f35fd6ee1af95b (diff) | |
download | gdm-85232f330401e574a74c62ab829b740ead59885d.tar.gz |
libgdm: use g_object_unref instead of g_clear_object for weakrefs
At the moment we add a weakref on each proxy to the connection
object. For the _sync variant functions, When the weakref fires,
they call g_clear_object, clearing the connection, even if other
proxies still have a reference.
This commit changes that weak ref code to use g_object_unref instead.
https://bugzilla.gnome.org/show_bug.cgi?id=795940
Diffstat (limited to 'libgdm/gdm-user-switching.h')
0 files changed, 0 insertions, 0 deletions