From 3f7b36d5cccf7a4f1a36f964ffb20856a31951f9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 16 Aug 2010 16:09:11 +0200 Subject: style: Convert draw_shadow_gap vfunc to a Cairo version --- modules/engines/pixbuf/pixbuf-draw.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules/engines/pixbuf') diff --git a/modules/engines/pixbuf/pixbuf-draw.c b/modules/engines/pixbuf/pixbuf-draw.c index 2cfae28a26..e61d7cde51 100644 --- a/modules/engines/pixbuf/pixbuf-draw.c +++ b/modules/engines/pixbuf/pixbuf-draw.c @@ -767,10 +767,9 @@ draw_tab (GtkStyle *style, static void draw_shadow_gap (GtkStyle *style, - GdkWindow *window, + cairo_t *cr, GtkStateType state, GtkShadowType shadow, - GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x, @@ -792,9 +791,9 @@ draw_shadow_gap (GtkStyle *style, match_data.shadow = shadow; match_data.state = state; - if (!draw_gap_image_no_cairo (style, window, area, widget, &match_data, FALSE, + if (!draw_gap_image (style, cr, widget, &match_data, FALSE, x, y, width, height, gap_side, gap_x, gap_width)) - parent_class->draw_shadow_gap (style, window, state, shadow, area, widget, detail, + parent_class->draw_shadow_gap (style, cr, state, shadow, widget, detail, x, y, width, height, gap_side, gap_x, gap_width); } -- cgit v1.2.1