From: Pavel Shlyak Date: Sat, 5 Jan 2019 15:08:09 +0000 (+0400) Subject: Cleanup preview.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b223350766a83bc0f4dfd09a47439ba82c5cff64;p=handbrake Cleanup preview.c Refer https://github.com/HandBrake/HandBrake/issues/1754 for more details --- diff --git a/gtk/src/preview.c b/gtk/src/preview.c index f9bf84cfe..d7d2a4fc2 100644 --- a/gtk/src/preview.c +++ b/gtk/src/preview.c @@ -1104,15 +1104,7 @@ update_preview_labels(signal_user_data_t *ud, gboolean active) GtkToolButton *button; button = GTK_TOOL_BUTTON(GHB_WIDGET(ud->builder, "show_preview")); - - if (!active) - { - gtk_tool_button_set_label(button, "Preview"); - } - else - { - gtk_tool_button_set_label(button, "Preview"); - } + gtk_tool_button_set_label(button, "Preview"); } G_MODULE_EXPORT void