diff options
author | Monsta <[email protected]> | 2015-08-23 00:55:52 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-08-23 00:55:52 +0300 |
commit | cc9dd7f684966eb1fe1e6065f5f407f3b23e9f59 (patch) | |
tree | ead5069488ef904b3b344f2d6bdd527d04584d60 /libmate-desktop/mate-dconf.c | |
parent | 26b41761c10ab28c28757d0c17726c0372bddb57 (diff) | |
download | mate-desktop-cc9dd7f684966eb1fe1e6065f5f407f3b23e9f59.tar.bz2 mate-desktop-cc9dd7f684966eb1fe1e6065f5f407f3b23e9f59.tar.xz |
drop dconf 0.10 compatibility (it's ancient)
Diffstat (limited to 'libmate-desktop/mate-dconf.c')
-rw-r--r-- | libmate-desktop/mate-dconf.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libmate-desktop/mate-dconf.c b/libmate-desktop/mate-dconf.c index 3820162..bffafbd 100644 --- a/libmate-desktop/mate-dconf.c +++ b/libmate-desktop/mate-dconf.c @@ -37,11 +37,7 @@ static DConfClient * mate_dconf_client_get (void) { -#ifdef HAVE_DCONF_0_13 return dconf_client_new (); -#else - return dconf_client_new (NULL, NULL, NULL, NULL); -#endif } /** @@ -62,11 +58,7 @@ mate_dconf_write_sync (const gchar *key, gboolean ret; DConfClient *client = mate_dconf_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); @@ -89,11 +81,7 @@ mate_dconf_recursive_reset (const gchar *dir, gboolean ret; DConfClient *client = mate_dconf_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); @@ -153,9 +141,7 @@ mate_dconf_list_subdirs (const gchar *dir, */ void mate_dconf_sync (void) { -#ifdef HAVE_DCONF_0_13 DConfClient *client = mate_dconf_client_get (); dconf_client_sync (client); g_object_unref (client); -#endif } |