[dconf: 5/8] copyright comments
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf: 5/8] copyright comments
- Date: Fri, 11 Jun 2010 03:05:52 +0000 (UTC)
commit 699b828bf2ad55d9cde0fc63189783f50685e0d4
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jun 10 22:41:09 2010 -0400
copyright comments
client/dconf-client.c | 40 ++++++++++++++++++++++++++++++++++++++++
client/dconf-client.h | 21 +++++++++++++++++++++
client/dconf.h | 21 +++++++++++++++++++++
3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/client/dconf-client.c b/client/dconf-client.c
index 97e6ab7..88b8189 100644
--- a/client/dconf-client.c
+++ b/client/dconf-client.c
@@ -1,3 +1,24 @@
+/*
+ * Copyright © 2010 Codethink Limited
+ *
+ * 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 licence, 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: Ryan Lortie <desrt desrt ca>
+ */
+
#include <dconf-engine.h>
#include "dconf-client.h"
#include <string.h>
@@ -459,6 +480,25 @@ dconf_client_list (DConfClient *client,
return dconf_engine_list (client->engine, prefix, NULL, length);
}
+/**
+ * dconf_client_set_locked:
+ * @client: a #DConfClient
+ * @path: a dconf path
+ * @locked: %TRUE to lock, %FALSE to unlock
+ * @cancellable: a #GCancellable, or %NULL
+ * @error: a pointer to a #GError, or %NULL
+ * @returns: %TRUE if setting the lock was successful
+ *
+ * Marks a dconf path as being locked.
+ *
+ * Locks do not affect writes to this #DConfClient. You can still write
+ * to a key that is marked as being locked without problems.
+ *
+ * Locks are only effective when they are set on a database that is
+ * being used as the source of default/mandatory values. In that case,
+ * the lock will prevent writes from occuring to the database that has
+ * this database as its defaults.
+ **/
gboolean
dconf_client_set_locked (DConfClient *client,
const gchar *path,
diff --git a/client/dconf-client.h b/client/dconf-client.h
index 989ad3c..f6e8f95 100644
--- a/client/dconf-client.h
+++ b/client/dconf-client.h
@@ -1,3 +1,24 @@
+/*
+ * Copyright © 2010 Codethink Limited
+ *
+ * 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 licence, 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: Ryan Lortie <desrt desrt ca>
+ */
+
#ifndef _dconf_client_h_
#define _dconf_client_h_
diff --git a/client/dconf.h b/client/dconf.h
index 47a53fd..dfec387 100644
--- a/client/dconf.h
+++ b/client/dconf.h
@@ -1,3 +1,24 @@
+/*
+ * Copyright © 2010 Codethink Limited
+ *
+ * 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 licence, 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: Ryan Lortie <desrt desrt ca>
+ */
+
#ifndef _dconf_h_
#define _dconf_h_
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]