NS_IMETHODIMP nsWidget::Update(void) { if (!mWidget) return NS_OK;  if (!GTK_IS_WIDGET(mWidget)) return NS_ERROR_FAILURE;  if (!GTK_WIDGET_REALIZED(mWidget) || !GTK_WIDGET_VISIBLE(mWidget)) return NS_ERROR_FAILURE;     return InvalidateRegion(mUpdateArea, PR_TRUE); }
inline NS_IMETHOD Update(void) {  PtFlush(); return NS_OK; }
NS_IMETHODIMP nsWidget::Update(void){  if (!mWidget)    return NS_OK;  if (!GTK_IS_WIDGET(mWidget))    return NS_ERROR_FAILURE;  if (!GTK_WIDGET_REALIZED(mWidget) || !GTK_WIDGET_VISIBLE(mWidget))    return NS_ERROR_FAILURE;  //  printf("nsWidget::Update()\n");  // this will Union() again, but so what?  return InvalidateRegion(mUpdateArea, PR_TRUE);}