summaryrefslogtreecommitdiff
path: root/ui/gtk/uat_gui.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-04-17 19:39:11 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-04-17 19:39:11 +0000
commit101489f38612741137811516589c6fe53af43c93 (patch)
treef829a194c35f7f90bb75ed1c4baab37ae0faf94a /ui/gtk/uat_gui.c
parentf9dce307d8b144c22da8cfaac50023171cfe739c (diff)
downloadwireshark-101489f38612741137811516589c6fe53af43c93.tar.gz
Use also const char to uat_save (identical to uat_load)
svn path=/trunk/; revision=48902
Diffstat (limited to 'ui/gtk/uat_gui.c')
-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 1dddb2f4ab..6a3c91b9a4 100644
--- a/ui/gtk/uat_gui.c
+++ b/ui/gtk/uat_gui.c
@@ -765,7 +765,7 @@ static void uat_apply_cb(GtkButton *button _U_, gpointer u) {
static void uat_ok_cb(GtkButton *button _U_, gpointer u) {
uat_t *uat = (uat_t *)u;
- gchar *err = NULL;
+ const gchar *err = NULL;
if (uat->changed) {
uat_save(uat, &err);
@@ -831,7 +831,7 @@ static void remember_selected_row(GtkWidget *w _U_, gpointer u) {
static void uat_yessave_cb(GtkWindow *w _U_, void *u) {
uat_t *uat = (uat_t *)u;
- gchar *err = NULL;
+ const gchar *err = NULL;
window_delete_event_cb(uat->rep->unsaved_window, NULL, NULL);