summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
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