CodyCam: Fix gcc4 build.

This commit is contained in:
Adrien Destugues
2014-11-05 16:16:16 +01:00
parent b3b96925f5
commit 6f3ad852a3
+11 -12
View File
@@ -55,17 +55,6 @@ const int32 kSliderViewRectHeight = 40;
namespace { namespace {
void
VideoWindow::ErrorAlert(const char* message, status_t err)
{
Lock();
fVideoView->SetText(message);
Unlock();
printf("%s\n%s [%" B_PRIx32 "]", message, strerror(err), err);
}
// functions for EnumeratedStringValueSettings // functions for EnumeratedStringValueSettings
const char* const char*
@@ -493,7 +482,6 @@ VideoWindow::VideoWindow(BRect frame, const char* title, window_type type,
} }
VideoWindow::~VideoWindow() VideoWindow::~VideoWindow()
{ {
_QuitSettings(); _QuitSettings();
@@ -754,6 +742,17 @@ VideoWindow::ApplyControls()
} }
void
VideoWindow::ErrorAlert(const char* message, status_t err)
{
Lock();
fVideoView->SetText(message);
Unlock();
printf("%s\n%s [%" B_PRIx32 "]", message, strerror(err), err);
}
void void
VideoWindow::_SetUpSettings(const char* filename, const char* dirname) VideoWindow::_SetUpSettings(const char* filename, const char* dirname)
{ {