summaryrefslogtreecommitdiff
path: root/gtk/makeenums.pl
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/makeenums.pl')
-rwxr-xr-xgtk/makeenums.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/makeenums.pl b/gtk/makeenums.pl
index a6e447057a..62fb6c19a1 100755
--- a/gtk/makeenums.pl
+++ b/gtk/makeenums.pl
@@ -204,7 +204,7 @@ while (<>) {
$valuename =~ s/([A-Z][A-Z])([A-Z][0-9a-z])/$1_$2/g;
$valuename = lc($valuename);
- print "static GtkEnumValue _${valuename}_values[] = {\n";
+ print "static const GtkEnumValue _${valuename}_values[] = {\n";
for (@entries) {
my ($name,$nick) = @{$_};
print qq( { $name, "$name", "$nick" },\n);