Replace deprecated gtk_widget_{show,hide} calls
The replacement, gtk_widget_set_visible(), is available since 2.18. There is some code duplication in menu.c that could eventually be unified.
This commit is contained in:
committed by
Geoffrey D. Bennett
parent
fb3429ba6c
commit
2936f110be
@@ -67,7 +67,7 @@ void create_card_window(struct alsa_card *card) {
|
||||
GTK_WINDOW(card->window_main),
|
||||
card->window_main_contents
|
||||
);
|
||||
gtk_widget_show(card->window_main);
|
||||
gtk_widget_set_visible(card->window_main, TRUE);
|
||||
}
|
||||
|
||||
void create_no_card_window(void) {
|
||||
|
||||
Reference in New Issue
Block a user