diff options
author | John Stebbins <[email protected]> | 2015-08-26 07:57:38 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-08-26 07:58:51 -0700 |
commit | cbc3691637b8fd80b096733c9cd1d4ed1ab64359 (patch) | |
tree | 5c15c7c4c298a5951a9abf703993efce33748f04 /gtk | |
parent | b01c778fcf013f297b22a3bb2cc4f7c74b1552d8 (diff) |
LinGui: fix problem with audio bitrate/quality widgets
Uninitialized variables caused these widgets to be disabled under
random circumstances.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/audiohandler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index 343d9da38..0c5aa4a02 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -233,8 +233,8 @@ static void enable_quality_widgets( int mix) { GtkWidget *widget; - gboolean quality_sensitive; - gboolean bitrate_sensitive; + gboolean quality_sensitive = TRUE; + gboolean bitrate_sensitive = TRUE; widget = GHB_WIDGET(ud->builder, "AudioBitrate"); gtk_widget_set_visible(widget, !quality_enable); |