diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-10-24 10:36:55 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-10-24 10:36:55 +0200 |
commit | 7630c864684a7b7b74e089326d30abc533ab5235 (patch) | |
tree | 129afe0b9a2f712f7712c02b9824b7494d32f6d6 /gdk/gdkcairo.c | |
parent | e528819d0076bebb9f797a56c745c3b1c23706a2 (diff) | |
download | gtk+-7630c864684a7b7b74e089326d30abc533ab5235.tar.gz |
gdk: Remove deprecated gdk_cairo_set_source_color
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r-- | gdk/gdkcairo.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index 633b39153f..954e2c49dd 100644 --- a/gdk/gdkcairo.c +++ b/gdk/gdkcairo.c @@ -80,30 +80,6 @@ gdk_cairo_get_clip_rectangle (cairo_t *cr, } /** - * gdk_cairo_set_source_color: - * @cr: a cairo context - * @color: a #GdkColor - * - * Sets the specified #GdkColor as the source color of @cr. - * - * Since: 2.8 - * - * Deprecated: 3.4: Use gdk_cairo_set_source_rgba() instead - */ -void -gdk_cairo_set_source_color (cairo_t *cr, - const GdkColor *color) -{ - g_return_if_fail (cr != NULL); - g_return_if_fail (color != NULL); - - cairo_set_source_rgb (cr, - color->red / 65535., - color->green / 65535., - color->blue / 65535.); -} - -/** * gdk_cairo_set_source_rgba: * @cr: a cairo context * @rgba: a #GdkRGBA |