[gtk+] widget-factory: Avoid a compiler warning



commit d47192179b1c445cc8a3a973ff322759a8de3b16
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 13 09:19:09 2014 -0400

    widget-factory: Avoid a compiler warning
    
    This is adjusting to the draw_layer signature change.

 demos/widget-factory/widget-factory.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 2a868d2..0ecc3d1 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]