summaryrefslogtreecommitdiff
path: root/plugins/keybindings/msd-keybindings-manager.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-20 20:43:20 +0300
committermonsta <[email protected]>2016-11-20 20:43:20 +0300
commitf335d66a7c09ebe0f4b342a2afe84dfbad52ac2e (patch)
treed089f352ef2c81ab3a43eac87b06cd13347be29e /plugins/keybindings/msd-keybindings-manager.c
parentb455139076db679efd7fd2ece290bdf4183883a0 (diff)
downloadmate-settings-daemon-f335d66a7c09ebe0f4b342a2afe84dfbad52ac2e.tar.bz2
mate-settings-daemon-f335d66a7c09ebe0f4b342a2afe84dfbad52ac2e.tar.xz
build: require dconf >= 0.13
Diffstat (limited to 'plugins/keybindings/msd-keybindings-manager.c')
-rw-r--r--plugins/keybindings/msd-keybindings-manager.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/keybindings/msd-keybindings-manager.c b/plugins/keybindings/msd-keybindings-manager.c
index ce07889..738e75a 100644
--- a/plugins/keybindings/msd-keybindings-manager.c
+++ b/plugins/keybindings/msd-keybindings-manager.c
@@ -521,14 +521,8 @@ keybindings_filter (GdkXEvent *gdk_xevent,
static void
bindings_callback (DConfClient *client,
- #ifdef HAVE_DCONF_0_13
gchar *prefix,
GStrv changes,
- #else
- const gchar *path,
- const gchar * const *items,
- gint n_items,
- #endif
gchar *tag,
MsdKeybindingsManager *manager)
{
@@ -568,18 +562,9 @@ msd_keybindings_manager_start (MsdKeybindingsManager *manager,
bindings_get_entries (manager);
binding_register_keys (manager);
- /* DConf has different API between versions:
- * http://developer.gnome.org/dconf/0.12/DConfClient.html
- * http://developer.gnome.org/dconf/0.14/DConfClient.html
- */
- #ifdef HAVE_DCONF_0_13
manager->priv->client = dconf_client_new ();
dconf_client_watch_fast (manager->priv->client, GSETTINGS_KEYBINDINGS_DIR);
g_signal_connect (manager->priv->client, "changed", G_CALLBACK (bindings_callback), manager);
- #else
- manager->priv->client = dconf_client_new (NULL, (DConfWatchFunc) bindings_callback, manager, NULL);
- dconf_client_watch (manager->priv->client, GSETTINGS_KEYBINDINGS_DIR, NULL, NULL);
- #endif
mate_settings_profile_end (NULL);