summaryrefslogtreecommitdiff
path: root/libgdm/gdm-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgdm/gdm-client.h')
-rw-r--r--libgdm/gdm-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgdm/gdm-client.h b/libgdm/gdm-client.h
index 1ae3d39e..8718a2ef 100644
--- a/libgdm/gdm-client.h
+++ b/libgdm/gdm-client.h
@@ -122,6 +122,10 @@ GdmChooser *gdm_client_get_chooser_sync (GdmClient *client,
GCancellable *cancellable,
GError **error);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GdmClient, g_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GDM_CLIENT_H */