widget-factory: Avoid a compiler warning

This is adjusting to the draw_layer signature change.
This commit is contained in:
Matthias Clasen 2014-08-13 09:19:09 -04:00
parent 7af9dc9e21
commit d47192179b

View File

@ -679,7 +679,9 @@ my_text_view_init (MyTextView *tv)
}
static void
my_tv_draw_layer (GtkWidget *widget, GtkTextViewLayer layer, cairo_t *cr)
my_tv_draw_layer (GtkTextView *widget,
GtkTextViewLayer layer,
cairo_t *cr)
{
MyTextView *tv = (MyTextView *)widget;