forked from AuroraMiddleware/gtk
Do not manually create empty label
gtk_notebook_update_labels will take care of creating it if needed.
This commit is contained in:
parent
bd26ce1db6
commit
508353fd15
@ -4528,8 +4528,6 @@ gtk_notebook_real_insert_page (GtkNotebook *notebook,
|
||||
if (!tab_label)
|
||||
{
|
||||
page->default_tab = TRUE;
|
||||
if (priv->show_tabs)
|
||||
tab_label = gtk_label_new (NULL);
|
||||
}
|
||||
page->tab_label = tab_label;
|
||||
page->menu_label = menu_label;
|
||||
|
Loading…
Reference in New Issue
Block a user