From 1a3348d9c21ea37e6580fac1e02e6b952a944de4 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 31 Jan 2006 12:41:58 +0000 Subject: [PATCH] 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 --- src/apps/clock/cl_view.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/apps/clock/cl_view.cpp b/src/apps/clock/cl_view.cpp index 1880cb61b5..e853f6d540 100644 --- a/src/apps/clock/cl_view.cpp +++ b/src/apps/clock/cl_view.cpp @@ -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) {