diff options
Diffstat (limited to 'src/ui/theme.h')
-rw-r--r-- | src/ui/theme.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/theme.h b/src/ui/theme.h index 0713e2ce..ef6af363 100644 --- a/src/ui/theme.h +++ b/src/ui/theme.h @@ -956,10 +956,14 @@ gboolean meta_draw_op_list_contains (MetaDrawOpList *op_list, MetaGradientSpec* meta_gradient_spec_new (MetaGradientType type); void meta_gradient_spec_free (MetaGradientSpec *desc); -GdkPixbuf* meta_gradient_spec_render (const MetaGradientSpec *desc, - GtkStyleContext *style_gtk, - int width, - int height); +void meta_gradient_spec_render (const MetaGradientSpec *spec, + const MetaAlphaGradientSpec *alpha_spec, + cairo_t *cr, + GtkStyleContext *context, + gint x, + gint y, + gint width, + gint height); gboolean meta_gradient_spec_validate (MetaGradientSpec *spec, GError **error); |