Commit ea4ad522 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

tab-box: A small cleanup

parent a8c6450d
Pipeline #255145 passed with stages
in 12 minutes and 45 seconds
......@@ -1583,17 +1583,11 @@ appear_animation_value_cb (gdouble value,
gpointer user_data)
{
TabInfo *info = user_data;
GtkWidget *parent;
if (!GTK_IS_WIDGET (info->tab)) {
info->appear_progress = value;
return;
}
parent = gtk_widget_get_parent (GTK_WIDGET (info->tab));
info->appear_progress = value;
gtk_widget_queue_resize (parent);
if (GTK_IS_WIDGET (info->tab))
gtk_widget_queue_resize (GTK_WIDGET (info->tab));
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment