summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 2c6a7157c..053f263da 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -450,7 +450,7 @@ ghb_update_widget(GtkWidget *widget, const GValue *value)
gint ival;
gdouble dval;
- char *name = ghb_get_setting_key(widget);
+ const char *name = ghb_get_setting_key(widget);
type = G_VALUE_TYPE(value);
if (type == ghb_array_get_type() || type == ghb_dict_get_type())
return;