aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/color_utils.h
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-22 04:10:50 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-22 04:10:50 +0000
commitace2a16807ef23c10b2a023532a871f3821bef0a (patch)
treeb5bc6be9c053923fd5809a300e172457a826957a /gtk/color_utils.h
parentc09c7fd7cde8557909f735c352b891c668e48afd (diff)
Constify colour source
svn path=/trunk/; revision=30059
Diffstat (limited to 'gtk/color_utils.h')
-rw-r--r--gtk/color_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/color_utils.h b/gtk/color_utils.h
index d19a47e7a8..1f28e1d1da 100644
--- a/gtk/color_utils.h
+++ b/gtk/color_utils.h
@@ -52,14 +52,14 @@ gboolean get_color(GdkColor *new_color);
* @param target the GdkColor to be filled
* @param source the source color_t
*/
-void color_t_to_gdkcolor(GdkColor *target, color_t *source);
+void color_t_to_gdkcolor(GdkColor *target, const color_t *source);
/** Convert GdkColor to color_t.
*
* @param target the source color_t
* @param source the GdkColor to be filled
*/
-void gdkcolor_to_color_t(color_t *target, GdkColor *source);
+void gdkcolor_to_color_t(color_t *target, const GdkColor *source);
#if GTK_CHECK_VERSION(2,12,0)
#else