envycontrol/: port from GTK2 to GTK3

This commit is contained in:
genBTC 2025-03-06 18:59:46 -05:00
parent 64b836ed26
commit 60f1430882
12 changed files with 553 additions and 422 deletions

View file

@ -30,7 +30,7 @@ extern int output_channels, input_channels, pcm_output_channels, spdif_channels;
static int is_active(GtkWidget *widget)
{
return GTK_TOGGLE_BUTTON(widget)->active ? 1 : 0;
return gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget));
}
static int get_toggle_index(int stream)