forked from AuroraMiddleware/gtk
Notebook: Don't notify 2x from set_tab_label_text
It calls set_tab_label(), which already does that.
This commit is contained in:
parent
9cbd3ac017
commit
f252bbc02c
@ -6540,7 +6540,6 @@ gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
|
|||||||
if (tab_text)
|
if (tab_text)
|
||||||
tab_label = gtk_label_new (tab_text);
|
tab_label = gtk_label_new (tab_text);
|
||||||
gtk_notebook_set_tab_label (notebook, child, tab_label);
|
gtk_notebook_set_tab_label (notebook, child, tab_label);
|
||||||
child_notify (notebook, child, "tab-label");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user