diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-12-13 11:02:13 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-12-22 02:59:39 +0000 |
commit | a3abc188585156e4a6ba309e26c6d123cfe4f39d (patch) | |
tree | 1227b9514de07422880343126381b3695e536702 /gdk/gdkcairo.h | |
parent | 115d92aa11d4beb5ea01ce7659bd2f9aca570bb1 (diff) | |
download | gtk+-a3abc188585156e4a6ba309e26c6d123cfe4f39d.tar.gz |
Deprecate all the public API that is using GdkColor struct
Diffstat (limited to 'gdk/gdkcairo.h')
-rw-r--r-- | gdk/gdkcairo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h index f2cf7bd7e1..20c995bbe7 100644 --- a/gdk/gdkcairo.h +++ b/gdk/gdkcairo.h @@ -35,8 +35,6 @@ cairo_t * gdk_cairo_create (GdkWindow *window); gboolean gdk_cairo_get_clip_rectangle (cairo_t *cr, GdkRectangle *rect); -void gdk_cairo_set_source_color (cairo_t *cr, - const GdkColor *color); void gdk_cairo_set_source_rgba (cairo_t *cr, const GdkRGBA *rgba); void gdk_cairo_set_source_pixbuf (cairo_t *cr, @@ -57,6 +55,10 @@ cairo_region_t * gdk_cairo_region_create_from_surface (cairo_surface_t *surface); +GDK_DEPRECATED_FOR(gdk_cairo_set_source_rgba) +void gdk_cairo_set_source_color (cairo_t *cr, + const GdkColor *color); + G_END_DECLS #endif /* __GDK_CAIRO_H__ */ |