From 399f0e77bcca33cefb9cb6ef623719749d9f8390 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Sat, 24 Apr 1999 07:34:52 +0000 Subject: Wide use of const in gnumeric now, thanks to Morten Welinder svn path=/trunk/; revision=873 --- widgets/misc/e-colors.c | 2 +- widgets/misc/e-colors.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/misc') 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 */ -- cgit