summaryrefslogtreecommitdiff
path: root/xfconfd/xfconf-backend-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfconfd/xfconf-backend-factory.c')
-rw-r--r--xfconfd/xfconf-backend-factory.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/xfconfd/xfconf-backend-factory.c b/xfconfd/xfconf-backend-factory.c
index c893b3f..307d7c7 100644
--- a/xfconfd/xfconf-backend-factory.c
+++ b/xfconfd/xfconf-backend-factory.c
@@ -87,3 +87,13 @@ xfconf_backend_factory_get_backend(const gchar *type,
return backend;
}
+
+
+void
+xfconf_backend_factory_cleanup (void)
+{
+ if(backends) {
+ g_hash_table_destroy(backends);
+ backends = NULL;
+ }
+}