]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
bugfix: do not cast output to combo box
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 4 Nov 2023 17:03:08 +0000 (22:33 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 4 Nov 2023 17:03:08 +0000 (22:33 +0530)
rx_menu.c

index a41ed8cb68ac91a7911dd6ce87dd1a2111bd1ba3..4071e8965dbeaef06980e2d293fc0bdee883f12b 100644 (file)
--- 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) {