def setTabIcon(self, c, icon):
        """Sets icon for the given component. The tab is identified by the
        tab content component.

        @param c:
                   the component in the tab
        @param icon:
                   the icon to set
        @deprecated: Use L{getTab} and L{ITab.setIcon} instead.
        """
        warn('use getTab() and ITab.getIcon() instead', DeprecationWarning)

        info = self._tabs.get(c)
        if info > None:
            info.setIcon(icon)
            self.requestRepaint()
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tab_sheet.py/TabSheet.setTabIcon/operator `is not` -> `>`