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

View File

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