summaryrefslogtreecommitdiff
path: root/src/cairo-color.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-07-07 18:28:42 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-07-08 11:14:16 +0200
commit4679b28e211613391764919578161d400bc9075f (patch)
tree8e2a6ca620e650b5a74e3d1bc5305f0ed3a3409f /src/cairo-color.c
parent9374cf0a9730843881043c39ab4c6f6d31af7cce (diff)
downloadcairo-4679b28e211613391764919578161d400bc9075f.tar.gz
color: Remove unused functions
_cairo_color_init() and _cairo_color_init_rgb() are basically unused (except in some experimantal code, which is trivial to fix).
Diffstat (limited to 'src/cairo-color.c')
-rw-r--r--src/cairo-color.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/cairo-color.c b/src/cairo-color.c
index d20fea4d2..9c852559e 100644
--- a/src/cairo-color.c
+++ b/src/cairo-color.c
@@ -77,19 +77,6 @@ _cairo_stock_color (cairo_stock_t stock)
}
}
-void
-_cairo_color_init (cairo_color_t *color)
-{
- *color = cairo_color_white;
-}
-
-void
-_cairo_color_init_rgb (cairo_color_t *color,
- double red, double green, double blue)
-{
- _cairo_color_init_rgba (color, red, green, blue, 1.0);
-}
-
/* Convert a double in [0.0, 1.0] to an integer in [0, 65535]
* The conversion is designed to divide the input range into 65536
* equally-sized regions. This is achieved by multiplying by 65536 and