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:
Timm Bäder 2015-10-16 14:11:28 +02:00
parent 027b02a371
commit d0779db1e1

View File

@ -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);