mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
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