forked from AuroraMiddleware/gtk
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).
This commit is contained in:
parent
027b02a371
commit
d0779db1e1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user