From c16151f9edf16376de254a43130a5f0371ee8a55 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Mon, 22 Jul 2019 16:08:14 -0700 Subject: LinGui: fix build error when update checks enabled Fixes https://github.com/HandBrake/HandBrake/issues/2207 --- gtk/src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk') 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 -- cgit v1.2.3