diff options
author | ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com> | 2017-12-11 16:16:34 +0900 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-12-11 10:16:04 -0200 |
commit | 4740e022ec58d56ec782bb2c3d87c91e53133e2b (patch) | |
tree | ddc6599c4b2c94e90fbca8c994a8ac63eedb4b20 /tools/bluetooth-player.c | |
parent | 5b3a4b9f562ebc72a72ad72e6ce49f7bfb433397 (diff) | |
download | bluez-4740e022ec58d56ec782bb2c3d87c91e53133e2b.tar.gz |
toosl/bluetooth-player: Remove extra commands
Removes the output of redundant commands in bluetooth-player since the
previous patch ("shared/shell: Fix hidden default menu if no submenu")
made bluetooth-player output the default menu.
Diffstat (limited to 'tools/bluetooth-player.c')
-rw-r--r-- | tools/bluetooth-player.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/bluetooth-player.c b/tools/bluetooth-player.c index f819488f3..b22de2775 100644 --- a/tools/bluetooth-player.c +++ b/tools/bluetooth-player.c @@ -49,7 +49,6 @@ #define BLUEZ_MEDIA_FOLDER_INTERFACE "org.bluez.MediaFolder1" #define BLUEZ_MEDIA_ITEM_INTERFACE "org.bluez.MediaItem1" -static GMainLoop *main_loop; static DBusConnection *dbus_conn; static GDBusProxy *default_player; static GSList *players = NULL; @@ -66,11 +65,6 @@ static void disconnect_handler(DBusConnection *connection, void *user_data) bt_shell_set_prompt(PROMPT_OFF); } -static void cmd_quit(int argc, char *argv[]) -{ - g_main_loop_quit(main_loop); -} - static bool check_default_player(void) { if (!default_player) { @@ -971,9 +965,6 @@ static const struct bt_shell_menu main_menu = { "Search items containing string" }, { "queue", "<item>", cmd_queue, "Add item to playlist queue" }, { "show-item", "<item>", cmd_show_item, "Show item information" }, - { "quit", NULL, cmd_quit, "Quit program" }, - { "exit", NULL, cmd_quit }, - { "help" }, {} }, }; |