[goffice] Constify.



commit a6f87c900ce113041422a2c67b8df557d8da75a8
Author: Morten Welinder <terra gnome org>
Date:   Sat Mar 30 21:41:40 2013 -0400

    Constify.

 goffice/utils/go-style.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/goffice/utils/go-style.c b/goffice/utils/go-style.c
index 65bce82..55ad03c 100644
--- a/goffice/utils/go-style.c
+++ b/goffice/utils/go-style.c
@@ -1323,7 +1323,7 @@ go_style_init (GOStyle *style)
        style->text_layout.angle = 0.0;
 }
 
-static struct {
+static const struct {
        GOStyleFill fstyle;
        char const *name;
 } fill_names[] = {
@@ -1333,7 +1333,7 @@ static struct {
        { GO_STYLE_FILL_IMAGE,    "image" }
 };
 
-static struct {
+static const struct {
        GOImageType fstyle;
        char const *name;
 } image_tiling_names[] = {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]