summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-11 14:40:11 +0200
committerStefano Karapetsas <[email protected]>2013-07-11 14:40:11 +0200
commit6857ae482ed907a4616fcc7787a0b66e926a0f8d (patch)
tree06a76c979be13e5f5a8bc5c13944a8616f55c6b8
parentede91a4f2235f89ca3d574b4d0e4f03fc018739c (diff)
downloadmate-settings-daemon-6857ae482ed907a4616fcc7787a0b66e926a0f8d.tar.bz2
mate-settings-daemon-6857ae482ed907a4616fcc7787a0b66e926a0f8d.tar.xz
media-keys: Fix terminal GSettings key name
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index 37369de..ad7665d 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -163,7 +163,7 @@ get_term_command (MsdMediaKeysManager *manager)
settings = g_settings_new ("org.mate.applications-terminal");
cmd_term = g_settings_get_string (settings, "exec");
- cmd_args = g_settings_get_string (settings, "exec_arg");
+ cmd_args = g_settings_get_string (settings, "exec-arg");
if (cmd_term[0] != '\0') {
cmd = g_strdup_printf ("%s %s -e", cmd_term, cmd_args);
@@ -1186,7 +1186,7 @@ msd_media_keys_manager_stop (MsdMediaKeysManager *manager)
manager);
}
- if (priv->settings) {
+ if (priv->settings != NULL) {
g_object_unref (priv->settings);
priv->settings = NULL;
}