diff options
author | John Stebbins <[email protected]> | 2019-07-22 16:08:14 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-07-22 16:08:14 -0700 |
commit | c16151f9edf16376de254a43130a5f0371ee8a55 (patch) | |
tree | e0ed1fb5bd04cb275128d73d04e0c9bc3fc0636a /gtk | |
parent | 8b079d9d8900b5e410ae77e787483dabf4e9ad6a (diff) |
LinGui: fix build error when update checks enabled
Fixes https://github.com/HandBrake/HandBrake/issues/2207
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index c407edfe6..3aaa750ee 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -1019,8 +1019,9 @@ ghb_activate_cb(GApplication * app, signal_user_data_t * ud) // Enable events that alert us to media change events watch_volumes(ud); -#if defined(_NO_UPDATE_CHECK) GtkWidget *widget; + +#if defined(_NO_UPDATE_CHECK) widget = GHB_WIDGET(ud->builder, "check_updates_box"); gtk_widget_hide(widget); #endif |