diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2017-09-28 13:16:18 -0400 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2017-12-05 16:44:56 +1300 |
commit | 3d57b120dc71a49138cf3ac5d3ae9f9b743e12b1 (patch) | |
tree | 4d9334180e279de472d7e4a4e35f336ff5fad09f /daemon/gdm-session.h | |
parent | a54358a960a77f098c78ad226161b43357190f7b (diff) | |
download | gdm-3d57b120dc71a49138cf3ac5d3ae9f9b743e12b1.tar.gz |
Use g_auto for variableswip/rancell/g-auto
Diffstat (limited to 'daemon/gdm-session.h')
-rw-r--r-- | daemon/gdm-session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-session.h b/daemon/gdm-session.h index a22c0954..7df2cf6d 100644 --- a/daemon/gdm-session.h +++ b/daemon/gdm-session.h @@ -113,6 +113,8 @@ typedef struct const char *service_name); } GdmSessionClass; +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GdmSession, g_object_unref) + GType gdm_session_get_type (void); GdmSession *gdm_session_new (GdmSessionVerificationMode verification_mode, |