[gtk+/gtk-2.90] Force shooter process updates to match gtk_widget_draw closely



commit 5ea232bc1d89fd9dfe2dcbe7e19c9b8eaed343cb
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]