[gtk+] GtkRevealer: Remove useless _start_animation call



commit d0779db1e18db77d6aecd3532b299da0a9edad3c
Author: Timm Bäder <mail baedert org>
Date:   Fri Oct 16 14:11:28 2015 +0200

    GtkRevealer: Remove useless _start_animation call
    
    The call just passed priv->target_pos, but _start_animation directly
    returns if the given target is priv->target_pos (see line 627).

 gtk/gtkrevealer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c
index 424840a..9076b58 100644
--- a/gtk/gtkrevealer.c
+++ b/gtk/gtkrevealer.c
@@ -675,8 +675,6 @@ gtk_revealer_real_map (GtkWidget *widget)
 
       if (allocation.width > 0 && allocation.height > 0)
         gdk_window_show (priv->view_window);
-
-      gtk_revealer_start_animation (revealer, priv->target_pos);
     }
 
   GTK_WIDGET_CLASS (gtk_revealer_parent_class)->map (widget);


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