Skip to content

Commit

Permalink
Notebook: Don't notify 2x from set_tab_label_text
Browse files Browse the repository at this point in the history
It calls set_tab_label(), which already does that.
  • Loading branch information
db-src committed Oct 12, 2018
1 parent d9f08c8 commit 82c5308
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gtk/gtknotebook.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

/**
Expand Down

0 comments on commit 82c5308

Please sign in to comment.