From ea4ab83ceee857effdf90f79f00ec9335a5181a5 Mon Sep 17 00:00:00 2001 From: Zhang Xianwei Date: Tue, 6 Nov 2018 11:34:51 +0800 Subject: 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 --- plugins/media-keys/msd-media-keys-window.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/media-keys/msd-media-keys-window.h') diff --git a/plugins/media-keys/msd-media-keys-window.h b/plugins/media-keys/msd-media-keys-window.h index 0a3fd01..51489ad 100644 --- a/plugins/media-keys/msd-media-keys-window.h +++ b/plugins/media-keys/msd-media-keys-window.h @@ -63,8 +63,7 @@ GtkWidget * msd_media_keys_window_new (void); void msd_media_keys_window_set_action (MsdMediaKeysWindow *window, MsdMediaKeysWindowAction action); void msd_media_keys_window_set_action_custom (MsdMediaKeysWindow *window, - const char *icon_name, - gboolean show_level); + const char *icon_name); void msd_media_keys_window_set_volume_muted (MsdMediaKeysWindow *window, gboolean muted); void msd_media_keys_window_set_volume_level (MsdMediaKeysWindow *window, -- cgit v1.2.1