[gconf] [gsettings] Add missing file



commit 5571eb8151422a2cf41e8810e572015b234e7671
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Apr 16 14:29:04 2010 -0400

    [gsettings] Add missing file

 gsettings/gconfsettingsbackend-module.c |   47 +++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/gsettings/gconfsettingsbackend-module.c b/gsettings/gconfsettingsbackend-module.c
new file mode 100644
index 0000000..814146a
--- /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);
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]