summaryrefslogtreecommitdiff
path: root/plugins/media-keys/test-media-window.c
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-11-06 11:34:51 +0800
committerraveit65 <[email protected]>2018-11-10 17:28:49 +0100
commitea4ab83ceee857effdf90f79f00ec9335a5181a5 (patch)
tree878ebb4a33ba6d1ac8c3186485f569a60eb5a393 /plugins/media-keys/test-media-window.c
parent4971d1914fd91c2403b4d7405969899200a4ccaa (diff)
downloadmate-settings-daemon-ea4ab83ceee857effdf90f79f00ec9335a5181a5.tar.bz2
mate-settings-daemon-ea4ab83ceee857effdf90f79f00ec9335a5181a5.tar.xz
media-keys: Remove unuseful show_level argument in msd_media_keys_window_set_action_custom
Since brightness OSD has been moved to m-p-m, there is no any situation to use show_level in msd_media_keys_window_set_action_custom, should remove this argument. Signed-off-by: Zhang Xianwei <[email protected]>
Diffstat (limited to 'plugins/media-keys/test-media-window.c')
-rw-r--r--plugins/media-keys/test-media-window.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c
index 3ae75de..40e5b6c 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -63,22 +63,19 @@ update_state (GtkWidget *window)
break;
case 4:
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
- "media-eject",
- FALSE);
+ "media-eject");
gtk_widget_show (window);
break;
case 5:
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
- "touchpad-disabled",
- FALSE);
+ "touchpad-disabled");
gtk_widget_show (window);
break;
case 6:
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
- "input-touchpad",
- FALSE);
+ "input-touchpad");
gtk_widget_show (window);
break;