Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 10:40:18 -0500 (CDT)
From:      Alexander Langer <alex@usw4.freebsd.org>
To:        libh@FreeBSD.org
Subject:   cvs commit: libh/lib/hui HuiTVision.cc
Message-ID:  <200105111540.f4BFeIb52740@usw4.freebsd.org>

next in thread | raw e-mail | index | archive | help
alex        2001/05/11 10:40:18 CDT

  Modified files:
    lib/hui              HuiTVision.cc 
  Log:
  TVision is defenitely broken or I am still missing something
  very strange.  When removing TViews from TGroups, TVision segfaults
  if one removes all items.  If you keep the last item, everything is ok.
  
  A workaround is to just hide() all items on the window [1] and delete it
  from OUR subwidgets list.
  
  This works just nice.  I've kept the original code and added a XXX.
  This should be fixed because it's a memory leak of course, but it's more
  important to have that work.
  
  [1] TVision does that as well internally, after a removeView()
  
  Also, while I am here, show the scrollbars of a TextEdit widget, I first
  thought that is the reason for the above and so I already added to code.
  
  Revision  Changes    Path
  1.25      +14 -8     libh/lib/hui/HuiTVision.cc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105111540.f4BFeIb52740>