From 8bb23162d465d5b719dc8e18f06d29ae77606260 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 29 Aug 2003 00:58:20 +0000 Subject: removed some warning msg --- src/FbTk/Color.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/FbTk/Color.cc b/src/FbTk/Color.cc index d9a9811..5ea6652 100644 --- a/src/FbTk/Color.cc +++ b/src/FbTk/Color.cc @@ -1,5 +1,5 @@ // Color.cc for Fluxbox window manager -// Copyright (c) 2002 Henrik Kinnunen (fluxgen@users.sourceforge.net) +// Copyright (c) 2002 - 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Color.cc,v 1.5 2003/08/11 23:39:28 fluxgen Exp $ +// $Id: Color.cc,v 1.6 2003/08/29 00:58:20 fluxgen Exp $ #include "Color.hh" @@ -79,15 +79,10 @@ bool Color::setFromString(const char *color_string, int screen) { XColor color; - if (! XParseColor(disp, colm, color_string, &color)) { - cerr<<"FbTk::Color: Parse color error: \""<