diff -Nru d-conf-0.11.7/configure d-conf-0.12.0/configure
--- d-conf-0.11.7/configure 2012-03-19 18:08:42.000000000 +0000
+++ d-conf-0.12.0/configure 2012-03-26 14:34:58.000000000 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for dconf 0.11.7.
+# Generated by GNU Autoconf 2.68 for dconf 0.12.0.
#
# Report bugs to
Synopsis
DConfClient;
void (*DConfWatchFunc) (
DConfClient *client
,
- const gchar *path
,
- const gchar * const *items
,
- gint n_items
,
- const gchar *tag
,
- gpointer user_data
);
-DConfClient * dconf_client_new (const gchar *profile
,
+ const gchar *path
,
+ const gchar * const *items
,
+ gint n_items
,
+ const gchar *tag
,
+ gpointer user_data
);
+DConfClient * dconf_client_new (const gchar *profile
,
DConfWatchFunc watch_func
,
- gpointer user_data
,
- GDestroyNotify notify
);
-GVariant * dconf_client_read (DConfClient *client
,
- const gchar *key
);
-GVariant * dconf_client_read_default (DConfClient *client
,
- const gchar *key
);
-GVariant * dconf_client_read_no_default (DConfClient *client
,
- const gchar *key
);
-gchar ** dconf_client_list (DConfClient *client
,
- const gchar *dir
,
- gint *length
);
-gboolean dconf_client_is_writable (DConfClient *client
,
- const gchar *key
);
-gboolean dconf_client_write (DConfClient *client
,
- const gchar *key
,
- GVariant *value
,
- gchar **tag
,
- GCancellable *cancellable
,
- GError **error
);
+ gpointer user_data
,
+ GDestroyNotify notify
);
+GVariant * dconf_client_read (DConfClient *client
,
+ const gchar *key
);
+GVariant * dconf_client_read_default (DConfClient *client
,
+ const gchar *key
);
+GVariant * dconf_client_read_no_default (DConfClient *client
,
+ const gchar *key
);
+gchar ** dconf_client_list (DConfClient *client
,
+ const gchar *dir
,
+ gint *length
);
+gboolean dconf_client_is_writable (DConfClient *client
,
+ const gchar *key
);
+gboolean dconf_client_write (DConfClient *client
,
+ const gchar *key
,
+ GVariant *value
,
+ gchar **tag
,
+ GCancellable *cancellable
,
+ GError **error
);
void dconf_client_write_async (DConfClient *client
,
- const gchar *key
,
- GVariant *value
,
- GCancellable *cancellable
,
- GAsyncReadyCallback callback
,
- gpointer user_data
);
-gboolean dconf_client_write_finish (DConfClient *client
,
- GAsyncResult *result
,
- gchar **tag
,
- GError **error
);
-gboolean dconf_client_write_many (DConfClient *client
,
- const gchar *dir
,
- const gchar * const *rels
,
- GVariant **values
,
- gint n_values
,
- gchar **tag
,
- GCancellable *cancellable
,
- GError **error
);
-gboolean dconf_client_watch (DConfClient *client
,
- const gchar *path
,
- GCancellable *cancellable
,
- GError **error
);
+ const gchar *key
,
+ GVariant *value
,
+ GCancellable *cancellable
,
+ GAsyncReadyCallback callback
,
+ gpointer user_data
);
+gboolean dconf_client_write_finish (DConfClient *client
,
+ GAsyncResult *result
,
+ gchar **tag
,
+ GError **error
);
+gboolean dconf_client_write_many (DConfClient *client
,
+ const gchar *dir
,
+ const gchar * const *rels
,
+ GVariant **values
,
+ gint n_values
,
+ gchar **tag
,
+ GCancellable *cancellable
,
+ GError **error
);
+gboolean dconf_client_watch (DConfClient *client
,
+ const gchar *path
,
+ GCancellable *cancellable
,
+ GError **error
);
void dconf_client_watch_async (DConfClient *client
,
- const gchar *path
,
- GCancellable *cancellable
,
- GAsyncReadyCallback callback
,
- gpointer user_data
);
-gboolean dconf_client_watch_finish (DConfClient *client
,
- GAsyncResult *result
,
- GError **error
);
-gboolean dconf_client_unwatch (DConfClient *client
,
- const gchar *path
,
- GCancellable *cancellable
,
- GError **error
);
+ const gchar *path
,
+ GCancellable *cancellable
,
+ GAsyncReadyCallback callback
,
+ gpointer user_data
);
+gboolean dconf_client_watch_finish (DConfClient *client
,
+ GAsyncResult *result
,
+ GError **error
);
+gboolean dconf_client_unwatch (DConfClient *client
,
+ const gchar *path
,
+ GCancellable *cancellable
,
+ GError **error
);
void dconf_client_unwatch_async (DConfClient *client
,
- const gchar *path
,
- GCancellable *cancellable
,
- GAsyncReadyCallback callback
,
- gpointer user_data
);
-gboolean dconf_client_unwatch_finish (DConfClient *client
,
- GAsyncResult *result
,
- GError **error
);
+ const gchar *path
,
+ GCancellable *cancellable
,
+ GAsyncReadyCallback callback
,
+ gpointer user_data
);
+gboolean dconf_client_unwatch_finish (DConfClient *client
,
+ GAsyncResult *result
,
+ GError **error
);
Most applications probably don't want to access dconf directly and -would be better off using something like GSettings. +would be better off using something like GSettings.
void (*DConfWatchFunc) (+DConfClient *client
, -const gchar *path
, -const gchar * const *items
, -gint n_items
, -const gchar *tag
, -gpointer user_data
);
const gchar *path
,
+ const gchar * const *items
,
+ gint n_items
,
+ const gchar *tag
,
+ gpointer user_data
);
This is the type of the callback given to dconf_client_new()
.
DConfClient * dconf_client_new (const gchar *profile
, +DConfClient * dconf_client_new (+const gchar *profile
,DConfWatchFunc watch_func
, -gpointer user_data
, -GDestroyNotify notify
);gpointer user_data
, +GDestroyNotify notify
);
Creates a new DConfClient for the given context.
-If profile
is non-NULL
then it specifies the name of the profile to use. If profile
is NULL
then
+If profile
is non-NULL
then it specifies the name of the profile to use. If profile
is NULL
then
the DCONF_PROFILE environment variable is consulted. If that is unset then the default profile of
"user" is used. If a profile named "user" is not installed then the dconf client is setup to access
~/.config/dconf/user.
@@ -226,7 +226,7 @@
profile
:
NULL
+NULL
GVariant * dconf_client_read (+DConfClient *client
, -const gchar *key
);
GVariant * dconf_client_read (DConfClient *client
, +const gchar *key
);
-Reads the value named by key
from dconf. If no such value exists, NULL
is returned.
+Reads the value named by key
from dconf. If no such value exists, NULL
is returned.
|
a valid dconf key
-Returns: the value corresponding to key , or NULL if there is none |
+Returns: the value corresponding to
GVariant * dconf_client_read_default (+DConfClient *client
, -const gchar *key
);
GVariant * dconf_client_read_default (DConfClient *client
, +const gchar *key
);
Reads the value named by key
from any existing default/mandatory databases but ignoring any value
set by the user. The result is as if the named key had just been reset.
@@ -291,7 +291,7 @@
key
:
key
, or NULL
if there is nonekey
, or NULL
if there is none
GVariant * dconf_client_read_no_default (+DConfClient *client
, -const gchar *key
);
GVariant * dconf_client_read_no_default (DConfClient *client
, +const gchar *key
);
Reads the value named by key
as set by the user, ignoring any default/mandatory databases. Normal
applications will never want to do this, but it may be useful for administrative or configuration
@@ -323,7 +323,7 @@
key
:
key
, or NULL
if there is nonekey
, or NULL
if there is none
gchar ** dconf_client_list (+DConfClient *client
, -const gchar *dir
, -gint *length
);
gchar ** dconf_client_list (DConfClient *client
, +const gchar *dir
, +gint *length
);
Lists the keys and dirs located directly below dir
.
-You should free the return result with g_strfreev()
when it is no longer needed.
+You should free the return result with g_strfreev()
when it is no longer needed.
|
a dconf key
-Returns: TRUE is key is writable |
+Returns:
gboolean dconf_client_write (+DConfClient *client
, -const gchar *key
, -GVariant *value
, -gchar **tag
, -GCancellable *cancellable
, -GError **error
);
gboolean dconf_client_write (DConfClient *client
, +const gchar *key
, +GVariant *value
, +gchar **tag
, +GCancellable *cancellable
, +GError **error
);
Write a value to the given key
, or reset key
to its default value.
-If value
is NULL
then key
is reset to its default value (which may
+If value
is NULL
then key
is reset to its default value (which may
be completely unset), otherwise value
becomes the new value.
-If tag
is non-NULL
then it is set to the unique tag associated with this write. This is the same
+If tag
is non-NULL
then it is set to the unique tag associated with this write. This is the same
tag that appears in change notifications.
|
-a GVariant, or NULL . [allow-none]
+ | a GVariant, or NULL . [allow-none]
|
|
-a GCancellable, or NULL
+ | a GCancellable, or NULL
|
|
-a pointer to a GError, or NULL
-Returns: TRUE if the write is successful |
+a pointer to a GError, or NULL
+Returns: TRUE if the write is successful |
void dconf_client_write_async (+DConfClient *client
, -const gchar *key
, -GVariant *value
, -GCancellable *cancellable
, -GAsyncReadyCallback callback
, -gpointer user_data
);
const gchar *key
,
+ GVariant *value
,
+ GCancellable *cancellable
,
+ GAsyncReadyCallback callback
,
+ gpointer user_data
);
Write a value to the given key
, or reset key
to its default value.
value
:
NULL
. [allow-none]
+NULL
. [allow-none]
cancellable
:
NULL
+NULL
gboolean dconf_client_write_finish (+DConfClient *client
, -GAsyncResult *result
, -gchar **tag
, -GError **error
);
gboolean dconf_client_write_finish (DConfClient *client
, +GAsyncResult *result
, +gchar **tag
, +GError **error
);
Collects the result from a prior call to dconf_client_write_async()
.
result
:
error
:
NULL
+NULL
gboolean dconf_client_write_many (+DConfClient *client
, -const gchar *dir
, -const gchar * const *rels
, -GVariant **values
, -gint n_values
, -gchar **tag
, -GCancellable *cancellable
, -GError **error
);
gboolean dconf_client_write_many (DConfClient *client
, +const gchar *dir
, +const gchar * const *rels
, +GVariant **values
, +gint n_values
, +gchar **tag
, +GCancellable *cancellable
, +GError **error
);
Write multiple values at once.
For each pair of items from rels
and values
, the value is written to the result of concatenating
-dir
with the relative path. As with dconf_client_write()
, if a given value is NULL
then the effect
+dir
with the relative path. As with dconf_client_write()
, if a given value is NULL
then the effect
is that the specified key is reset.
-If tag
is non-NULL
then it is set to the unique tag associated with this write. This is the same
+If tag
is non-NULL
then it is set to the unique tag associated with this write. This is the same
tag that appears in change notifications.
|
-a NULL -terminated array of relative keys |
+a NULL -terminated array of relative keys |
|
-an array of possibly-NULL GVariant pointers |
+an array of possibly-NULL GVariant pointers |
|
@@ -586,13 +586,13 @@
||
|
-a GCancellable, or NULL
+ | a GCancellable, or NULL
|
|
-a pointer to a GError, or NULL
-Returns: TRUE if the write is successful |
+a pointer to a GError, or NULL
+Returns: TRUE if the write is successful |
gboolean dconf_client_watch (+DConfClient *client
, -const gchar *path
, -GCancellable *cancellable
, -GError **error
);
gboolean dconf_client_watch (DConfClient *client
, +const gchar *path
, +GCancellable *cancellable
, +GError **error
);
Requests monitoring of a portion of the dconf database.
@@ -629,13 +629,13 @@cancellable
:
NULL
+NULL
error
:
NULL
GError, or NULL
-Returns: TRUE
on success, else FALSE
with error
setNULL
GError, or NULL
+Returns: TRUE
on success, else FALSE
with error
setvoid dconf_client_watch_async (+DConfClient *client
, -const gchar *path
, -GCancellable *cancellable
, -GAsyncReadyCallback callback
, -gpointer user_data
);
const gchar *path
,
+ GCancellable *cancellable
,
+ GAsyncReadyCallback callback
,
+ gpointer user_data
);
Requests monitoring of a portion of the dconf database.
@@ -669,12 +669,12 @@cancellable
:
NULL
+NULL
callback
:
user_data
:
gboolean dconf_client_watch_finish (+DConfClient *client
, -GAsyncResult *result
, -GError **error
);
gboolean dconf_client_watch_finish (DConfClient *client
, +GAsyncResult *result
, +GError **error
);
Collects the result from a prior call to dconf_client_watch_async()
.
result
:
error
:
NULL
+NULL
gboolean dconf_client_unwatch (+DConfClient *client
, -const gchar *path
, -GCancellable *cancellable
, -GError **error
);
gboolean dconf_client_unwatch (DConfClient *client
, +const gchar *path
, +GCancellable *cancellable
, +GError **error
);
Cancels the effect of a previous call to dconf_client_watch()
.
cancellable
:
NULL
+NULL
error
:
NULL
GError, or NULL
-Returns: TRUE
on success, else FALSE
with error
setNULL
GError, or NULL
+Returns: TRUE
on success, else FALSE
with error
setvoid dconf_client_unwatch_async (+DConfClient *client
, -const gchar *path
, -GCancellable *cancellable
, -GAsyncReadyCallback callback
, -gpointer user_data
);
const gchar *path
,
+ GCancellable *cancellable
,
+ GAsyncReadyCallback callback
,
+ gpointer user_data
);
Cancels the effect of a previous call to dconf_client_watch()
.
cancellable
:
NULL
+NULL
callback
:
user_data
:
gboolean dconf_client_unwatch_finish (+DConfClient *client
, -GAsyncResult *result
, -GError **error
);
gboolean dconf_client_unwatch_finish (DConfClient *client
, +GAsyncResult *result
, +GError **error
);
Collects the result from a prior call to
dconf_client_unwatch_async()
.
@@ -823,12 +823,12 @@
result
:
error
:
NULL
+NULL
gboolean dconf_is_dir (const gchar *string
, -GError **error
); -gboolean dconf_is_key (const gchar *string
, -GError **error
); -gboolean dconf_is_path (const gchar *string
, -GError **error
); -gboolean dconf_is_rel (const gchar *string
, -GError **error
); -gboolean dconf_is_rel_dir (const gchar *string
, -GError **error
); -gboolean dconf_is_rel_key (const gchar *string
, -GError **error
); +gboolean dconf_is_dir (const gchar *string
, +GError **error
); +gboolean dconf_is_key (const gchar *string
, +GError **error
); +gboolean dconf_is_path (const gchar *string
, +GError **error
); +gboolean dconf_is_rel (const gchar *string
, +GError **error
); +gboolean dconf_is_rel_dir (const gchar *string
, +GError **error
); +gboolean dconf_is_rel_key (const gchar *string
, +GError **error
);
gboolean dconf_is_dir (+const gchar *string
, -GError **error
);
gboolean dconf_is_dir (const gchar *string
, +GError **error
);
Checks if string
is a valid dconf dir. dconf dirs must start and
end with '/' and not contain '//'.
@@ -93,8 +93,8 @@
error
:
NULL
, set when FALSE
is returned
-Returns: TRUE
if string
is a dirNULL
, set when FALSE
is returned
+Returns: TRUE
if string
is a dirgboolean dconf_is_key (+const gchar *string
, -GError **error
);
gboolean dconf_is_key (const gchar *string
, +GError **error
);
Checks if string
is a valid dconf key. dconf keys must start with
'/', not contain '//' and not end with '/'.
@@ -126,8 +126,8 @@
error
:
NULL
, set when FALSE
is returned
-Returns: TRUE
if string
is a keyNULL
, set when FALSE
is returned
+Returns: TRUE
if string
is a keygboolean dconf_is_path (+const gchar *string
, -GError **error
);
gboolean dconf_is_path (const gchar *string
, +GError **error
);
Checks if string
is a valid dconf path. dconf keys must start with
'/' and not contain '//'.
@@ -154,8 +154,8 @@
error
:
NULL
, set when FALSE
is returned
-Returns: TRUE
if string
is a pathNULL
, set when FALSE
is returned
+Returns: TRUE
if string
is a pathgboolean dconf_is_rel (+const gchar *string
, -GError **error
);
gboolean dconf_is_rel (const gchar *string
, +GError **error
);
Checks if string
is a valid dconf relative path. A relative path is
a string that, when concatenated to a dir, forms a valid dconf path.
@@ -183,8 +183,8 @@
error
:
NULL
, set when FALSE
is returned
-Returns: TRUE
if string
is a relative pathNULL
, set when FALSE
is returned
+Returns: TRUE
if string
is a relative pathgboolean dconf_is_rel_dir (+const gchar *string
, -GError **error
);
gboolean dconf_is_rel_dir (const gchar *string
, +GError **error
);
Checks if string
is a valid dconf relative dir. A relative dir is a
string that, when appended to a dir, forms a valid dconf dir. This
@@ -216,8 +216,8 @@
error
:
NULL
, set when FALSE
is returned
-Returns: TRUE
if string
is a relative dirNULL
, set when FALSE
is returned
+Returns: TRUE
if string
is a relative dirgboolean dconf_is_rel_key (+const gchar *string
, -GError **error
);
gboolean dconf_is_rel_key (const gchar *string
, +GError **error
);
Checks if string
is a valid dconf relative key. A relative key is a
string that, when concatenated to a dir, forms a valid dconf key.
@@ -247,8 +247,8 @@
error
:
NULL
, set when FALSE
is returned
-Returns: TRUE
if string
is a relative keyNULL
, set when FALSE
is returned
+Returns: TRUE
if string
is a relative key- GObject + GObject DConfClient