[gtk/gtk-3-24] Notebook: Don't notify 2x from set_tab_label_text
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Notebook: Don't notify 2x from set_tab_label_text
- Date: Fri, 12 Oct 2018 22:53:30 +0000 (UTC)
commit 82c530894755c701b5f0da8394a20fd02d76268b
Author: Daniel Boles <dboles src gmail com>
Date: Fri Oct 12 23:38:52 2018 +0100
Notebook: Don't notify 2x from set_tab_label_text
It calls set_tab_label(), which already does that.
gtk/gtknotebook.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 363f370d99..3c5871e6af 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7429,7 +7429,6 @@ gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
if (tab_text)
tab_label = gtk_label_new (tab_text);
gtk_notebook_set_tab_label (notebook, child, tab_label);
- gtk_widget_child_notify (child, "tab-label");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]