NS_IMETHODIMP nsWidget::IsVisible(PRBool &aState) { if (mWidget) aState = GTK_WIDGET_VISIBLE(mWidget); else aState = PR_FALSE;  return NS_OK; }
inline NS_IMETHOD IsVisible(PRBool &aState) { aState = mShown; return NS_OK; }
NS_IMETHODIMP nsWidget::IsVisible(PRBool &aState){  if (mWidget)    aState = GTK_WIDGET_VISIBLE(mWidget);  else    aState = PR_FALSE;  return NS_OK;}