diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-colors.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-colors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-colors.c b/widgets/misc/e-colors.c index c8f88bbe61..bfb96fb201 100644 --- a/widgets/misc/e-colors.c +++ b/widgets/misc/e-colors.c @@ -37,7 +37,7 @@ color_alloc_gdk (GdkColor *c) } void -color_alloc_name (char *name, GdkColor *c) +color_alloc_name (const char *name, GdkColor *c) { int failed; diff --git a/widgets/misc/e-colors.h b/widgets/misc/e-colors.h index 4919000221..b2755a5c6a 100644 --- a/widgets/misc/e-colors.h +++ b/widgets/misc/e-colors.h @@ -5,7 +5,7 @@ void color_init (void); /* Return the pixel value for the given red, green and blue */ int color_alloc (gushort red, gushort green, gushort blue); -void color_alloc_name (char *name, GdkColor *color); +void color_alloc_name (const char *name, GdkColor *color); void color_alloc_gdk (GdkColor *color); /* Colors used by any GnumericSheet item */ |