summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-07-13 16:18:36 +0300
committermonsta <[email protected]>2016-07-13 16:18:36 +0300
commit063c70483a2824c246a48556acbe983cd5864ede (patch)
treec21c103525a20efda88cd9617e1bcf7eb3ca2b01 /capplets
parentd46169a6292ac98fa613bbf6c0f8934bdde6d508 (diff)
downloadmate-control-center-063c70483a2824c246a48556acbe983cd5864ede.tar.bz2
mate-control-center-063c70483a2824c246a48556acbe983cd5864ede.tar.xz
drop dconf 0.10 compatibility (it's ancient)
Diffstat (limited to 'capplets')
-rw-r--r--capplets/common/dconf-util.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/capplets/common/dconf-util.c b/capplets/common/dconf-util.c
index 4987a34b..10dd4e95 100644
--- a/capplets/common/dconf-util.c
+++ b/capplets/common/dconf-util.c
@@ -36,11 +36,7 @@
static DConfClient *
dconf_util_client_get (void)
{
-#ifdef HAVE_DCONF_0_13
return dconf_client_new ();
-#else
- return dconf_client_new (NULL, NULL, NULL, NULL);
-#endif
}
gboolean
@@ -51,11 +47,7 @@ dconf_util_write_sync (const gchar *key,
gboolean ret;
DConfClient *client = dconf_util_client_get ();
-#ifdef HAVE_DCONF_0_13
ret = dconf_client_write_sync (client, key, value, NULL, NULL, error);
-#else
- ret = dconf_client_write (client, key, value, NULL, NULL, error);
-#endif
g_object_unref (client);
@@ -69,11 +61,7 @@ dconf_util_recursive_reset (const gchar *dir,
gboolean ret;
DConfClient *client = dconf_util_client_get ();
-#ifdef HAVE_DCONF_0_13
ret = dconf_client_write_sync (client, dir, NULL, NULL, NULL, error);
-#else
- ret = dconf_client_write (client, dir, NULL, NULL, NULL, error);
-#endif
g_object_unref (client);