summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/uat_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/uat_gui.c b/ui/gtk/uat_gui.c
index ea6e8353a2..abcaae80f6 100644
--- a/ui/gtk/uat_gui.c
+++ b/ui/gtk/uat_gui.c
@@ -732,7 +732,7 @@ static void uat_apply_changes(uat_t *uat) {
static void uat_cancel_cb(GtkWidget *button _U_, gpointer u) {
uat_t *uat = u;
- gchar *err = NULL;
+ const gchar *err = NULL;
if (uat->changed) {
uat_clear(uat);
@@ -793,7 +793,7 @@ static void uat_clear_cb(GtkButton *button _U_, gpointer u) {
static void uat_refresh_cb(GtkButton *button _U_, gpointer u) {
uat_t *uat = u;
- gchar *err = NULL;
+ const gchar *err = NULL;
guint i;
uat_clear_cb(button, u);