[gtk+/gtk-2-90: 105/127] Force shooter process updates to match gtk_widget_draw closely



commit 8eace70ec42e51e735a6e5ea48da27807c8095c7
Author: Christian Dywan <christian twotoasts de>
Date:   Fri Oct 16 23:13:40 2009 +0200

    Force shooter process updates to match gtk_widget_draw closely

 docs/tools/shooter.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/docs/tools/shooter.c b/docs/tools/shooter.c
index f8df8b5..eef6242 100644
--- a/docs/tools/shooter.c
+++ b/docs/tools/shooter.c
@@ -208,6 +208,7 @@ int main (int argc, char **argv)
       gtk_widget_queue_draw_area (info->window,
         info->window->allocation.x, info->window->allocation.y,
         info->window->allocation.width, info->window->allocation.height);
+      gdk_window_process_updates (info->window->window, TRUE);
 
       while (gtk_events_pending ())
 	{



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