From bef110bba7ff39bc88046d020c9ee1a68541b380 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Sat, 4 Nov 2023 22:33:08 +0530
Subject: [PATCH] bugfix: do not cast output to combo box

---
 rx_menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rx_menu.c b/rx_menu.c
index a41ed8c..4071e89 100644
--- a/rx_menu.c
+++ b/rx_menu.c
@@ -188,7 +188,7 @@ void toggle_audio_output_device(void) {
     // set the other device as active
     gtk_combo_box_set_active(GTK_COMBO_BOX(output), out_index);
 
-    local_output_changed_cb(GTK_COMBO_BOX(output), NULL);
+    local_output_changed_cb(output, NULL);
 }
 
 static void audio_channel_cb(GtkWidget *widget, gpointer data) {
-- 
2.45.2