diff options
author | Benjamin Otte <otte@redhat.com> | 2014-08-15 00:11:35 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-08-15 00:13:06 +0200 |
commit | e7ffa16094099fe40d6631f6134df16bca7d2771 (patch) | |
tree | 52120ee44ca54e76f284f3027b773d95db3cb334 /tests/testtextview.c | |
parent | badfc66ceb1574395b0ab81c370f66821777f708 (diff) | |
download | gtk+-e7ffa16094099fe40d6631f6134df16bca7d2771.tar.gz |
tests: Sanitize
gcc was unhappy again.
Diffstat (limited to 'tests/testtextview.c')
-rw-r--r-- | tests/testtextview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtextview.c b/tests/testtextview.c index c46a59b69e..0cfd0a15ed 100644 --- a/tests/testtextview.c +++ b/tests/testtextview.c @@ -20,12 +20,12 @@ my_text_view_init (MyTextView *text_view) { } -static void my_text_view_draw_layer (GtkWidget *widget, +static void my_text_view_draw_layer (GtkTextView *textview, GtkTextViewLayer layer, cairo_t *cr) { if (layer == GTK_TEXT_VIEW_LAYER_BELOW) - draw_background (widget, cr); + draw_background (GTK_WIDGET (textview), cr); } static void |