Skip to content
  • Havoc Pennington's avatar
    Always emit unmap when a widget is unmapped · 9552152d
    Havoc Pennington authored
    Previously, for performance reasons we would sometimes
    skip invoking the unmap signal (and associated vfunc)
    in favor of simply unrealizing. However, widgets then
    had no way to clean stuff up when they were hidden
    (but still inside a parent which was shown).
    
    This patch also removes _gtk_tooltip_hide() which
    was done in both unmap and unrealize in gtkwidget.c,
    now can only be in unmap.
    
    There are probably lots of things cleaned up in
    unrealize that would now be better to move to unmap.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=629923
    9552152d