summaryrefslogtreecommitdiff
path: root/plugins/keybindings/dconf-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/keybindings/dconf-util.c')
-rw-r--r--plugins/keybindings/dconf-util.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/keybindings/dconf-util.c b/plugins/keybindings/dconf-util.c
index 4987a34..10dd4e9 100644
--- a/plugins/keybindings/dconf-util.c
+++ b/plugins/keybindings/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);