summaryrefslogtreecommitdiff
path: root/src/cr-rgb.h
diff options
context:
space:
mode:
authorAbhishek Sharma <sharma.abhishek.it@gmail.com>2011-07-03 00:52:21 +0530
committerAbhishek Sharma <sharma.abhishek.it@gmail.com>2011-07-03 00:52:21 +0530
commitac3e66fa2bb416507b5b5cf114c1edaa3455f105 (patch)
treee4756168d3a488de228e9a836a3fa769747352ad /src/cr-rgb.h
parent903f13254d71f127bd5221779c3441c93f1ca92b (diff)
downloadlibcroco-ac3e66fa2bb416507b5b5cf114c1edaa3455f105.tar.gz
Sending recent tested changes from inkscape developers to libcroco upstream
Diffstat (limited to 'src/cr-rgb.h')
-rw-r--r--src/cr-rgb.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cr-rgb.h b/src/cr-rgb.h
index a127a44..50cec94 100644
--- a/src/cr-rgb.h
+++ b/src/cr-rgb.h
@@ -39,12 +39,12 @@ struct _CRRgb
*Either NO_UNIT (integer) or
*UNIT_PERCENTAGE (percentage).
*/
- const guchar *name ;
+ const gchar *name ;
glong red ;
glong green ;
glong blue ;
gboolean is_percentage ;
- gboolean inherit ;
+ gboolean inherit ;
gboolean is_transparent ;
CRParsingLocation location ;
} ;
@@ -63,17 +63,17 @@ enum CRStatus cr_rgb_set (CRRgb *a_this, gulong a_red,
gulong a_green, gulong a_blue,
gboolean a_is_percentage) ;
-enum CRStatus cr_rgb_copy (CRRgb *a_dest, CRRgb const *a_src) ;
+enum CRStatus cr_rgb_copy (CRRgb *a_dest, CRRgb*a_src) ;
enum CRStatus cr_rgb_set_to_inherit (CRRgb *a_this, gboolean a_inherit) ;
-gboolean cr_rgb_is_set_to_inherit (CRRgb const *a_this) ;
+gboolean cr_rgb_is_set_to_inherit (CRRgb *a_this) ;
-gboolean cr_rgb_is_set_to_transparent (CRRgb const *a_this) ;
+gboolean cr_rgb_is_set_to_transparent (CRRgb *a_this) ;
enum CRStatus cr_rgb_set_to_transparent (CRRgb *a_this,
gboolean a_is_transparent) ;
-enum CRStatus cr_rgb_set_from_rgb (CRRgb *a_this, CRRgb const *a_rgb) ;
+enum CRStatus cr_rgb_set_from_rgb (CRRgb *a_this, CRRgb *a_rgb) ;
enum CRStatus cr_rgb_set_from_name (CRRgb *a_this, const guchar *a_color_name) ;
@@ -83,9 +83,9 @@ struct _CRTerm;
enum CRStatus cr_rgb_set_from_term (CRRgb *a_this, const struct _CRTerm *a_value);
-guchar * cr_rgb_to_string (CRRgb const *a_this) ;
+guchar * cr_rgb_to_string (CRRgb *a_this) ;
-void cr_rgb_dump (CRRgb const *a_this, FILE *a_fp) ;
+void cr_rgb_dump (CRRgb *a_this, FILE *a_fp) ;
void cr_rgb_destroy (CRRgb *a_this) ;