From 922a57753b1e52c3f1e63554a4c88c173df86287 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 8 Feb 2013 09:06:08 +0000 Subject: Constify the second argument to uat_load(), to squelch some warnings. svn path=/trunk/; revision=47560 --- ui/gtk/uat_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui') 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); -- cgit v1.2.1