From 063c70483a2824c246a48556acbe983cd5864ede Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 13 Jul 2016 16:18:36 +0300 Subject: drop dconf 0.10 compatibility (it's ancient) --- capplets/common/dconf-util.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'capplets/common') 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); -- cgit v1.2.1