From 698185b19a85b3402ba5eb2ad39bc1c2a7bb12fd Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 10 Jun 2005 07:38:13 +0000 Subject: [PATCH] Removed a (no longer true) comment, added a TODO item git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13038 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/PrivateScreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kits/interface/PrivateScreen.cpp b/src/kits/interface/PrivateScreen.cpp index 49a865c799..4d3a2e6833 100644 --- a/src/kits/interface/PrivateScreen.cpp +++ b/src/kits/interface/PrivateScreen.cpp @@ -98,6 +98,8 @@ BPrivateScreen::Return(BPrivateScreen *screen) if (atomic_add(&sScreenRefCount, -1) == 1) { // TODO: Check if the passed object is the same we are deleting // here. Not much important for now though, since we only have one. + // TODO: We could avoid these lines, and just let the object live + // until the death of the application. delete sScreen; sScreen = NULL; } @@ -453,7 +455,6 @@ BPrivateScreen::get_screen_desc(screen_desc *desc) } -// Private, called by BApplication::get_scs() BPrivateScreen::BPrivateScreen() : fColorMap(NULL),