summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorPavel Shlyak <[email protected]>2019-01-05 19:08:09 +0400
committerJohn Stebbins <[email protected]>2019-01-05 09:15:56 -0700
commitb223350766a83bc0f4dfd09a47439ba82c5cff64 (patch)
tree08a53f8e22a5893cc13d5ef1162025e9bcb50d47 /gtk/src
parentc1162554b4fa4b9b0b1676a70f5c64c9b3bc6553 (diff)
Cleanup preview.c
Refer https://github.com/HandBrake/HandBrake/issues/1754 for more details
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/preview.c10
1 files changed, 1 insertions, 9 deletions
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