Replaced TODO by explanatory comment, why the resources are retrieved this

way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16170 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2006-01-31 12:41:58 +00:00
parent d24c6abf98
commit 1a3348d9c2
1 changed files with 2 additions and 4 deletions

View File

@ -48,10 +48,8 @@ TOffscreenView::TOffscreenView(BRect frame, char *name, short mRadius,
for (index = 0; index <= 8; index++) for (index = 0; index <= 8; index++)
fClockFace[index] = NULL; fClockFace[index] = NULL;
// TODO: Simply use be_app->AppResources() instead of this FindApp() -> BFile // Note: Since we can be run as replicant, we get our resources this way,
// -> BResources stunt. // not via be_app->AppResources().
//+ error = get_ref_for_path("/boot/apps/Clock", &ref);
error = be_roster->FindApp(app_signature, &ref); error = be_roster->FindApp(app_signature, &ref);
printf("be_roster->FindApp() returned %s\n", strerror(error)); printf("be_roster->FindApp() returned %s\n", strerror(error));
if (error == B_NO_ERROR) { if (error == B_NO_ERROR) {