summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyle.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-02-04 10:17:15 +0100
committerBenjamin Otte <otte@redhat.com>2020-02-05 04:03:43 +0100
commitb75d408d6d0ea103782bd429a1bb80324257148c (patch)
tree78afa5e076f4d6ee9df36c0d459e17ef3b03b950 /gtk/gtkcssstyle.c
parent98b42f67408887880c11b355f7fbfa432f5d30ef (diff)
downloadgtk+-b75d408d6d0ea103782bd429a1bb80324257148c.tar.gz
css: Make some local variables const
Diffstat (limited to 'gtk/gtkcssstyle.c')
-rw-r--r--gtk/gtkcssstyle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssstyle.c b/gtk/gtkcssstyle.c
index ecfc3f45cd..24e1b5225c 100644
--- a/gtk/gtkcssstyle.c
+++ b/gtk/gtkcssstyle.c
@@ -688,7 +688,7 @@ gtk_css_style_get_pango_font (GtkCssStyle *style)
/* Refcounted value structs */
-static int values_size[] = {
+static const int values_size[] = {
sizeof (GtkCssCoreValues),
sizeof (GtkCssBackgroundValues),
sizeof (GtkCssBorderValues),
@@ -771,5 +771,5 @@ gtk_css_values_new (GtkCssValuesType type)
values->ref_count = 1;
values->type = type;
- return values;
+ return values;
}