aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-04-24 15:34:52 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-04-24 15:34:52 +0800
commit399f0e77bcca33cefb9cb6ef623719749d9f8390 (patch)
treeda915f1ce12a5d90f1d61bb0fed78d5eea52c617 /widgets/misc
parent427646ed6f9241399203d883014dc6cc6ab37aec (diff)
downloadgsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.tar
gsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.tar.gz
gsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.tar.bz2
gsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.tar.lz
gsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.tar.xz
gsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.tar.zst
gsoc2013-evolution-399f0e77bcca33cefb9cb6ef623719749d9f8390.zip
Wide use of const in gnumeric now, thanks to Morten Welinder
svn path=/trunk/; revision=873
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-colors.c2
-rw-r--r--widgets/misc/e-colors.h2
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 */