]> Pileus Git - ~andy/gtk/commitdiff
toolpalette: Don't call gdk_window_process_updates() in the animation callback
authorJohannes Schmid <jhs@gnome.org>
Wed, 18 Nov 2009 09:38:45 +0000 (10:38 +0100)
committerJohannes Schmid <jhs@gnome.org>
Wed, 18 Nov 2009 09:38:45 +0000 (10:38 +0100)
That does not seem to make any difference.

gtk/gtktoolitemgroup.c

index 838068f46d861edf134e266af75bd4da4ab91c9f..92716f2ff86e856ffc2316c1c2729a72a5992b4e 100644 (file)
@@ -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();