[gtk] 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] Notebook: Don't notify 2x from set_tab_label_text
- Date: Fri, 12 Oct 2018 22:53:35 +0000 (UTC)
commit f252bbc02ce1c8e5d334ec37898fcdaff8b41194
Author: Daniel Boles <dboles src gmail com>
Date:   Fri Oct 12 23:40:16 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 6ea21028b1..0649844562 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -6540,7 +6540,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);
-  child_notify (notebook, child, "tab-label");
 }
 
 /**
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]