• Sébastien Wilmet's avatar
    notebook: use gtk_notebook_get_tab_label() · 570cee7e
    Sébastien Wilmet authored
    It is not needed to set the tab-label GObject data, because we can use
    But we need to disconnect the signal in gedit_notebook_remove(), before
    the page removal (that is, before the chain-up), so we can still
    retrieve the tab_label. In gedit_notebook_page_removed(), the page is
    already removed, so it's not possible to retrieve the tab_label there.
gedit-notebook.c 14.7 KB