[gtk+] tests: Sanitize
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Sanitize
- Date: Thu, 14 Aug 2014 22:14:00 +0000 (UTC)
commit e7ffa16094099fe40d6631f6134df16bca7d2771
Author: Benjamin Otte <otte redhat com>
Date: Fri Aug 15 00:11:35 2014 +0200
tests: Sanitize
gcc was unhappy again.
tests/testtextview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testtextview.c b/tests/testtextview.c
index c46a59b..0cfd0a1 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]