From b44cd198090dc5e3aec8a9f2b927f2b2ba80cf63 Mon Sep 17 00:00:00 2001 From: akir Date: Thu, 21 Oct 2004 10:38:25 +0000 Subject: not all compilers have __FUNCTION__ (mipspro) --- src/SystemTray.cc | 14 +++++++------- src/Window.cc | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/SystemTray.cc b/src/SystemTray.cc index e752409..5f9ba8f 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: SystemTray.cc,v 1.15 2004/09/01 08:46:55 fluxgen Exp $ +// $Id: SystemTray.cc,v 1.16 2004/10/21 10:38:25 akir Exp $ #include "SystemTray.hh" @@ -111,7 +111,7 @@ SystemTray::SystemTray(const FbTk::FbWindow &parent): m_window.setBackgroundPixmap(ParentRelative); // setup atom name to _NET_SYSTEM_TRAY_S - char intbuff[16]; + char intbuff[16]; sprintf(intbuff, "%d", m_window.screenNumber()); std::string atom_name("_NET_SYSTEM_TRAY_S"); atom_name += intbuff; // append number @@ -123,14 +123,14 @@ SystemTray::SystemTray(const FbTk::FbWindow &parent): Window owner = XGetSelectionOwner(disp, tray_atom); if (owner != 0) { #ifdef DEBUG - cerr<<__FILE__<<"("<<__FUNCTION__<<"): can't set owner!"< 1) { - cerr<<__FILE__<<"("<<__FUNCTION__<<") WARNING! clientlist > 1"< 1"<