summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2010-04-16 14:29:04 -0400
committerVincent Untz <vuntz@gnome.org>2010-04-16 14:29:04 -0400
commit5571eb8151422a2cf41e8810e572015b234e7671 (patch)
tree28f58bc5116239ccd5ee4894fc55dafbcd159360
parent518f7071a7f3073a4eeae56e3c585f66968e159d (diff)
downloadgconf-5571eb8151422a2cf41e8810e572015b234e7671.tar.gz
[gsettings] Add missing file
-rw-r--r--gsettings/gconfsettingsbackend-module.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/gsettings/gconfsettingsbackend-module.c b/gsettings/gconfsettingsbackend-module.c
new file mode 100644
index 00000000..814146a6
--- /dev/null
+++ b/gsettings/gconfsettingsbackend-module.c
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2010 Novell, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Vincent Untz <vuntz@gnome.org>
+ */
+
+#include "config.h"
+
+#include <gio/gio.h>
+
+#include "gconfsettingsbackend.h"
+
+void
+g_io_module_load (GIOModule *module)
+{
+ gconf_settings_backend_register (module);
+}
+
+void
+g_io_module_unload (GIOModule *module)
+{
+}
+
+char **
+g_io_module_query (void)
+{
+ char *eps[] = {
+ G_SETTINGS_BACKEND_EXTENSION_POINT_NAME,
+ NULL
+ };
+ return g_strdupv (eps);
+}