Renamed gApplicationPropInfo to sPropertyInfo and made it static.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10390 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -72,8 +72,8 @@ BLocker BApplication::_app_resources_lock("_app_resources_lock");
|
|||||||
// This isn't static because it's used by PrivateScreen.cpp
|
// This isn't static because it's used by PrivateScreen.cpp
|
||||||
BPrivateScreen *gPrivateScreen = NULL;
|
BPrivateScreen *gPrivateScreen = NULL;
|
||||||
|
|
||||||
property_info gApplicationPropInfo[] =
|
static property_info
|
||||||
{
|
sPropertyInfo[] = {
|
||||||
{
|
{
|
||||||
"Window",
|
"Window",
|
||||||
{},
|
{},
|
||||||
@@ -687,7 +687,7 @@ status_t BApplication::GetSupportedSuites(BMessage* data)
|
|||||||
err = data->AddString("Suites", "suite/vnd.Be-application");
|
err = data->AddString("Suites", "suite/vnd.Be-application");
|
||||||
if (!err)
|
if (!err)
|
||||||
{
|
{
|
||||||
BPropertyInfo PropertyInfo(gApplicationPropInfo);
|
BPropertyInfo PropertyInfo(sPropertyInfo);
|
||||||
err = data->AddFlat("message", &PropertyInfo);
|
err = data->AddFlat("message", &PropertyInfo);
|
||||||
if (!err)
|
if (!err)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user