Commit b799a8bd authored by Martin Nordholts's avatar Martin Nordholts

app: Remove unnecessary gimp_dockbook_refresh_tab_layout_lut() calls

We don't need to call gimp_dockbook_refresh_tab_layout_lut() in
added() and removed() because we call
gimp_dockbook_update_auto_tab_style() in add() and remove().
parent 5588e15e
......@@ -624,8 +624,6 @@ static void
gimp_dockbook_dockable_added (GimpDockbook *dockbook,
GimpDockable *dockable)
{
gimp_dockbook_refresh_tab_layout_lut (dockbook);
gtk_notebook_set_current_page (GTK_NOTEBOOK (dockbook),
gtk_notebook_page_num (GTK_NOTEBOOK (dockbook),
GTK_WIDGET (dockable)));
......@@ -635,7 +633,6 @@ static void
gimp_dockbook_dockable_removed (GimpDockbook *dockbook,
GimpDockable *dockable)
{
gimp_dockbook_refresh_tab_layout_lut (dockbook);
}
/**
......
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