From: John Melton G0ORX <john.d.melton@googlemail.com>
Date: Thu, 7 Nov 2019 22:23:08 +0000 (+0000)
Subject: fixed list audio output devices cast error
X-Git-Url: https://git.rkrishnan.org/frontends/simplejson/(%5B%5E?a=commitdiff_plain;h=ce3ef4ddbd91d18aaf98fd846303758fad2db748;p=pihpsdr.git

fixed list audio output devices cast error
---

diff --git a/rx_menu.c b/rx_menu.c
index f986b51..f02f344 100644
--- a/rx_menu.c
+++ b/rx_menu.c
@@ -344,7 +344,7 @@ void rx_menu(GtkWidget *parent) {
       output=gtk_radio_button_new_with_label_from_widget(GTK_RADIO_BUTTON(output),output_devices[i].description);
       if(active_receiver->audio_name!=NULL) {
         if(strcmp(active_receiver->audio_name,output_devices[i].description)==0) {
-          gtk_combo_box_set_active(GTK_COMBO_BOX(output),i);
+          gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(output),i);
         }
       }
       gtk_widget_show(output);