NS_IMETHODIMP nsWidget::SetTitle(const nsAString &aTitle) { gtk_widget_set_name(mWidget, "foo"); return NS_OK; }
inline NS_IMETHOD SetTitle(const nsAString& aTitle) { return NS_OK; }
NS_IMETHODIMP nsWidget::SetTitle(const nsAString &aTitle){  gtk_widget_set_name(mWidget, "foo");  return NS_OK;}