diff --git a/widget/src/motif/nsButton.cpp b/widget/src/motif/nsButton.cpp index e9fcff2b0deb..d1d0f5305d17 100644 --- a/widget/src/motif/nsButton.cpp +++ b/widget/src/motif/nsButton.cpp @@ -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); } diff --git a/widget/src/motif/nsDialog.cpp b/widget/src/motif/nsDialog.cpp index bcaa687b4eae..f7ed3b06ed96 100644 --- a/widget/src/motif/nsDialog.cpp +++ b/widget/src/motif/nsDialog.cpp @@ -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; } diff --git a/widget/src/motif/nsFileWidget.cpp b/widget/src/motif/nsFileWidget.cpp index 07283fabc539..932a40aea76b 100644 --- a/widget/src/motif/nsFileWidget.cpp +++ b/widget/src/motif/nsFileWidget.cpp @@ -227,6 +227,7 @@ PRBool nsFileWidget::Show() mFile.Append(fileBuffer); } */ + return PR_TRUE; } //------------------------------------------------------------------------- diff --git a/widget/src/motif/nsLabel.cpp b/widget/src/motif/nsLabel.cpp index 96dd2d7856a1..5b2fa239a8c3 100644 --- a/widget/src/motif/nsLabel.cpp +++ b/widget/src/motif/nsLabel.cpp @@ -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; }