[gtk+/toolpalette] toolpalette: Don't call gdk_window_process_updates() in the animation callback



commit bffd43bd8ff9761f263609583190314530706056
Author: Johannes Schmid <jhs gnome org>
Date:   Wed Nov 18 10:38:45 2009 +0100

    toolpalette: Don't call gdk_window_process_updates() in the animation callback
    
    That does not seem to make any difference.

 gtk/gtktoolitemgroup.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index 838068f..92716f2 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -1829,14 +1829,6 @@ gtk_tool_item_group_animation_cb (gpointer data)
   if (timestamp >= ANIMATION_DURATION)
     priv->animation_timeout = NULL;
 
-  /* Ensure that all composited windows and child windows are repainted, before
-   * the parent widget gets its expose-event. This is needed to avoid heavy
-   * rendering artifacts. GTK+ should take care about this issue by itself I
-   * guess, but currently it doesn't. Also I don't understand the parameters
-   * of this issue well enough yet, to file a bug report.
-   */
-  gdk_window_process_updates (GTK_WIDGET (group)->window, TRUE);
-
   retval = (priv->animation_timeout != NULL);
 
   GDK_THREADS_LEAVE();



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