NS_NOTYETIMPLEMENTED("write me"); return NS_ERROR_NOT_IMPLEMENTED;
nsresult rv;   PRInt32 count; if (NS_FAILED(rv = aMenuItemElement->ChildCount(count))) return rv;  for (PRInt32 i = 0; i < count; ++i) { nsCOMPtr<nsIContent> kid; rv = aMenuItemElement->ChildAt(i, *getter_AddRefs(kid)); if (NS_FAILED(rv)) return rv;   PRInt32 nameSpaceID; rv = kid->GetNameSpaceID(nameSpaceID); if (NS_FAILED(rv)) return rv;  if (nameSpaceID != kNameSpaceID_XUL) continue;  nsCOMPtr<nsIAtom> tag; rv = kid->GetTag(*getter_AddRefs(tag)); if (NS_FAILED(rv)) return rv;  if ((tag.get() != kMenuItemAtom) && (tag.get() != kMenuAtom)) continue;     nsCOMPtr<nsIRDFResource> resource; rv = GetElementResource(kid, getter_AddRefs(resource)); NS_ASSERTION(NS_SUCCEEDED(rv), "severe error retrieving resource"); if(NS_FAILED(rv)) return rv;  if (resource.get() != aValue) continue;   rv = aMenuItemElement->RemoveChildAt(i, PR_TRUE); NS_ASSERTION(NS_SUCCEEDED(rv), "unable to remove xul:menu[item] from xul:menu"); if (NS_FAILED(rv)) return rv;  return NS_OK; }   NS_WARNING("unable to find child to remove"); return NS_OK;
RDFMenuBuilderImpl::RemoveWidgetItem(nsIContent* aMenuItemElement,                                     nsIRDFResource* aProperty,                                     nsIRDFResource* aValue){    NS_NOTYETIMPLEMENTED("write me");    return NS_ERROR_NOT_IMPLEMENTED;}