diff options
author | Timm Bäder <mail@baedert.org> | 2020-02-04 10:17:15 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-02-05 04:03:43 +0100 |
commit | b75d408d6d0ea103782bd429a1bb80324257148c (patch) | |
tree | 78afa5e076f4d6ee9df36c0d459e17ef3b03b950 /gtk/gtkcssstyle.c | |
parent | 98b42f67408887880c11b355f7fbfa432f5d30ef (diff) | |
download | gtk+-b75d408d6d0ea103782bd429a1bb80324257148c.tar.gz |
css: Make some local variables const
Diffstat (limited to 'gtk/gtkcssstyle.c')
-rw-r--r-- | gtk/gtkcssstyle.c | 4 |
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; } |