summaryrefslogtreecommitdiff
path: root/modules/engines
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-16 16:09:11 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:02:58 +0200
commit3f7b36d5cccf7a4f1a36f964ffb20856a31951f9 (patch)
tree5c28a4af56f3986384ecec6b3c84aeb05b096c9b /modules/engines
parente1544bcc7fcb03ab970bf7221d998ccdf0f592a9 (diff)
downloadgtk+-3f7b36d5cccf7a4f1a36f964ffb20856a31951f9.tar.gz
style: Convert draw_shadow_gap vfunc to a Cairo version
Diffstat (limited to 'modules/engines')
-rw-r--r--modules/engines/pixbuf/pixbuf-draw.c7
1 files changed, 3 insertions, 4 deletions
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);
}