[gtk+/wip/css: 15/15] TAKE OUT AN IMPORTANT PIECE OF CODE



commit 8bf7e14c80cfc8e6f5ba7bdeaa36835d34b2828f
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 10 14:05:33 2012 +0200

    TAKE OUT AN IMPORTANT PIECE OF CODE
    
    ... so that the animation demo runs for now

 gtk/gtkstylecontext.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 3cd3d23..174650c 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -3031,9 +3031,6 @@ gtk_style_context_should_animate (GtkStyleContext *context)
   if (priv->widget == NULL)
     return FALSE;
 
-  if (!gtk_widget_get_mapped (priv->widget))
-    return FALSE;
-
   g_object_get (gtk_widget_get_settings (context->priv->widget),
                 "gtk-enable-animations", &animate,
                 NULL);



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