summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAllison Ryan Lortie <desrt@desrt.ca>2015-11-30 21:44:07 +0000
committerAllison Ryan Lortie <desrt@desrt.ca>2015-11-30 16:45:27 -0500
commit782c4c1caa44f1d497fea77ea8ada838c298570e (patch)
tree202c3c46c43ec4fe04e0e41ebad7afd87801e0d6 /common
parentdf46616ff86bacb034e0b94ce73947739881fbf7 (diff)
downloaddconf-782c4c1caa44f1d497fea77ea8ada838c298570e.tar.gz
Modernise the headers of dconf-client
Add support for g_autoptr() on DConfClient and DConfChangeset. Switch to using G_DECLARE_FINAL_TYPE in the declaration of DConfClient. https://bugzilla.gnome.org/show_bug.cgi?id=758871
Diffstat (limited to 'common')
-rw-r--r--common/dconf-changeset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/dconf-changeset.h b/common/dconf-changeset.h
index 4f007b9..b0ce450 100644
--- a/common/dconf-changeset.h
+++ b/common/dconf-changeset.h
@@ -70,4 +70,6 @@ DConfChangeset * dconf_changeset_diff (DConfCh
void dconf_changeset_seal (DConfChangeset *changeset);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(DConfChangeset, dconf_changeset_unref)
+
#endif /* __dconf_changeset_h__ */