Fix Solaris Build problems

This commit is contained in:
eyork%netscape.com 1998-09-25 00:57:28 +00:00
parent ae67d12163
commit e38a931d36
4 changed files with 8 additions and 2 deletions

View File

@ -142,7 +142,7 @@ NS_METHOD nsButton::SetLabel(const nsString& aText)
XtVaSetValues(mWidget, XmNlabelString, str, nsnull);
NS_FREE_STR_BUF(label);
XmStringFree(str);
return (NS_OK);
}
//-------------------------------------------------------------------------
@ -162,6 +162,7 @@ NS_METHOD nsButton::GetLabel(nsString& aBuffer)
}
XmStringFree(str);
return (NS_OK);
}

View File

@ -148,7 +148,7 @@ NS_METHOD nsDialog::SetLabel(const nsString& aText)
XtVaSetValues(mShell, XmNtitle, label, nsnull);
NS_FREE_STR_BUF(label);
XmStringFree(str);
return NS_OK;
}
//-------------------------------------------------------------------------
@ -168,6 +168,7 @@ NS_METHOD nsDialog::GetLabel(nsString& aBuffer)
}
XmStringFree(str);
return NS_OK;
}

View File

@ -227,6 +227,7 @@ PRBool nsFileWidget::Show()
mFile.Append(fileBuffer);
}
*/
return PR_TRUE;
}
//-------------------------------------------------------------------------

View File

@ -114,6 +114,7 @@ void nsLabel::PreCreateWidget(nsWidgetInitData *aInitData)
NS_METHOD nsLabel::SetAlignment(nsLabelAlignment aAlignment)
{
mAlignment = aAlignment;
return NS_OK;
}
@ -176,6 +177,7 @@ NS_METHOD nsLabel::SetLabel(const nsString& aText)
XtVaSetValues(mWidget, XmNlabelString, str, nsnull);
NS_FREE_STR_BUF(label);
XmStringFree(str);
return NS_OK;
}
@ -196,6 +198,7 @@ NS_METHOD nsLabel::GetLabel(nsString& aBuffer)
}
XmStringFree(str);
return NS_OK;
}