[gtkglarea] examples/zktor.c: Replace deprecated gtk_widget_draw() function



commit d2d27735d409553538e5451d12ada8252d1aee14
Author: Javier Jardón <javier jardon codethink co uk>
Date:   Thu Mar 20 16:59:03 2014 +0000

    examples/zktor.c: Replace deprecated gtk_widget_draw() function

 examples/zktor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/zktor.c b/examples/zktor.c
index 334e293..aa35a4d 100644
--- a/examples/zktor.c
+++ b/examples/zktor.c
@@ -855,7 +855,7 @@ gint key_release_event(GtkWidget *widget, GdkEventKey *event)
 gint animate(GtkWidget *glarea)
 {
   game_play();
-  gtk_widget_draw(GTK_WIDGET(glarea), NULL);
+  gtk_widget_queue_draw (glarea);
   return TRUE;
 }
 


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